mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 06:37:52 +00:00
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:
@@ -34,6 +34,9 @@ namespace GUI {
|
||||
Frame::Frame(Widget* parent)
|
||||
: Widget(parent)
|
||||
{
|
||||
set_frame_thickness(2);
|
||||
set_frame_shape(Gfx::FrameShape::Container);
|
||||
set_frame_shadow(Gfx::FrameShadow::Sunken);
|
||||
}
|
||||
|
||||
Frame::~Frame()
|
||||
|
||||
Reference in New Issue
Block a user