diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-23 11:09:20 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-23 11:10:52 +0100 |
commit | bfd86c46316c0a7b0fca2b6966ec57884124caab (patch) | |
tree | 43e98365bf20dea6d7f827806ecfd9a797940939 /Applications/FontEditor | |
parent | 3d20da9ee451460b6e233f5efdf5a13e11525f97 (diff) | |
download | serenity-bfd86c46316c0a7b0fca2b6966ec57884124caab.zip |
LibGUI: Make GUI::Frame have the 2px sunken container look by default
The overwhelming majority of GUI::Frame users set the same appearance,
so let's just make it the default.
Diffstat (limited to 'Applications/FontEditor')
-rw-r--r-- | Applications/FontEditor/GlyphEditorWidget.cpp | 3 | ||||
-rw-r--r-- | Applications/FontEditor/GlyphMapWidget.cpp | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/Applications/FontEditor/GlyphEditorWidget.cpp b/Applications/FontEditor/GlyphEditorWidget.cpp index 1d0c350a9e..66adffdda5 100644 --- a/Applications/FontEditor/GlyphEditorWidget.cpp +++ b/Applications/FontEditor/GlyphEditorWidget.cpp @@ -32,9 +32,6 @@ GlyphEditorWidget::GlyphEditorWidget(Gfx::Font& mutable_font) : m_font(mutable_font) { - set_frame_thickness(2); - set_frame_shadow(Gfx::FrameShadow::Sunken); - set_frame_shape(Gfx::FrameShape::Container); set_relative_rect({ 0, 0, preferred_width(), preferred_height() }); } diff --git a/Applications/FontEditor/GlyphMapWidget.cpp b/Applications/FontEditor/GlyphMapWidget.cpp index f057b46bb7..43ce3a234a 100644 --- a/Applications/FontEditor/GlyphMapWidget.cpp +++ b/Applications/FontEditor/GlyphMapWidget.cpp @@ -32,9 +32,6 @@ GlyphMapWidget::GlyphMapWidget(Gfx::Font& mutable_font) : m_font(mutable_font) { - set_frame_thickness(2); - set_frame_shape(Gfx::FrameShape::Container); - set_frame_shadow(Gfx::FrameShadow::Sunken); set_relative_rect({ 0, 0, preferred_width(), preferred_height() }); } |