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 /Libraries/LibGUI/ColumnsView.cpp | |
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 'Libraries/LibGUI/ColumnsView.cpp')
-rw-r--r-- | Libraries/LibGUI/ColumnsView.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Libraries/LibGUI/ColumnsView.cpp b/Libraries/LibGUI/ColumnsView.cpp index 62a86e422a..296b345c97 100644 --- a/Libraries/LibGUI/ColumnsView.cpp +++ b/Libraries/LibGUI/ColumnsView.cpp @@ -53,10 +53,6 @@ ColumnsView::ColumnsView(Widget* parent) set_fill_with_background_color(true); set_background_role(ColorRole::Base); set_foreground_role(ColorRole::BaseText); - set_frame_shape(Gfx::FrameShape::Container); - set_frame_shadow(Gfx::FrameShadow::Sunken); - set_frame_thickness(2); - m_columns.append({ {}, 0 }); } |