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.
This commit is contained in:
Andreas Kling 2020-02-23 11:09:20 +01:00
commit bfd86c4631
Notes: sideshowbarker 2024-07-19 09:08:44 +09:00
27 changed files with 7 additions and 91 deletions

View file

@ -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 });
}