diff options
author | Nico Weber <thakis@chromium.org> | 2021-01-24 13:07:35 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-24 22:02:23 +0100 |
commit | 90e09dd7a895d6d8748261439f1333fca6b6aea2 (patch) | |
tree | 0a742a8e1092c47af740e7bf1572437dd5d9e24d | |
parent | 8bb9c667fdcd8fad7efd9110e47abba43173e700 (diff) | |
download | serenity-90e09dd7a895d6d8748261439f1333fca6b6aea2.zip |
FontEditor: Make left and right UI margins match
-rw-r--r-- | Userland/Applications/FontEditor/FontEditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/FontEditor/FontEditor.cpp b/Userland/Applications/FontEditor/FontEditor.cpp index b291fd5262..20c2bc3d97 100644 --- a/Userland/Applications/FontEditor/FontEditor.cpp +++ b/Userland/Applications/FontEditor/FontEditor.cpp @@ -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; }; |