From 90e09dd7a895d6d8748261439f1333fca6b6aea2 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sun, 24 Jan 2021 13:07:35 -0500 Subject: [PATCH] FontEditor: Make left and right UI margins match --- Userland/Applications/FontEditor/FontEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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&& 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; };