mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
FontEditor: Make left and right UI margins match
This commit is contained in:
parent
8bb9c667fd
commit
90e09dd7a8
Notes:
sideshowbarker
2024-07-18 22:53:52 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/90e09dd7a89 Pull-request: https://github.com/SerenityOS/serenity/pull/5094 Reviewed-by: https://github.com/awesomekling
@ -265,7 +265,7 @@ FontEditorWidget::FontEditorWidget(const String& path, RefPtr<Gfx::BitmapFont>&&
|
||||
int right_site_width = m_edited_font->width("QUICK FOX JUMPS NIGHTLY ABOVE WIZARD!") + 20;
|
||||
right_site_width = max(right_site_width, m_glyph_map_widget->preferred_width());
|
||||
|
||||
m_preferred_width = m_glyph_editor_widget->width() + right_site_width + 20;
|
||||
m_preferred_width = m_glyph_editor_widget->width() + right_site_width + 12;
|
||||
m_preferred_height = m_glyph_map_widget->relative_rect().height() + 2 * m_edited_font->glyph_height() + 346;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user