mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:07:35 +00:00
Userland: Use Font::pixel_size_rounded_up() instead of glyph_height()
The only remaining clients of this API are specific to bitmap fonts and editing thereof.
This commit is contained in:
parent
93c9344e35
commit
b71c7a6e44
32 changed files with 63 additions and 65 deletions
|
@ -47,7 +47,7 @@ void DoubleClickArrowWidget::paint_event(GUI::PaintEvent& event)
|
|||
|
||||
auto text_rect = rect();
|
||||
text_rect.set_y(bottom_arrow_rect.bottom());
|
||||
text_rect.set_height(font().glyph_height());
|
||||
text_rect.set_height(font().pixel_size_rounded_up());
|
||||
}
|
||||
|
||||
void DoubleClickArrowWidget::mousedown_event(GUI::MouseEvent&)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue