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 /DevTools/HackStudio | |
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 'DevTools/HackStudio')
-rw-r--r-- | DevTools/HackStudio/FormEditorWidget.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/DevTools/HackStudio/FormEditorWidget.cpp b/DevTools/HackStudio/FormEditorWidget.cpp index 24c778e549..f8ee8e112b 100644 --- a/DevTools/HackStudio/FormEditorWidget.cpp +++ b/DevTools/HackStudio/FormEditorWidget.cpp @@ -36,10 +36,6 @@ FormEditorWidget::FormEditorWidget() set_fill_with_background_color(true); set_background_color(Color::MidGray); - set_frame_shape(Gfx::FrameShape::Container); - set_frame_shadow(Gfx::FrameShadow::Sunken); - set_frame_thickness(2); - m_form_widget = add<FormWidget>(); m_widget_tree_model = WidgetTreeModel::create(*m_form_widget); } |