mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:07:35 +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:
parent
3d20da9ee4
commit
bfd86c4631
27 changed files with 7 additions and 91 deletions
|
@ -276,9 +276,6 @@ void PropertiesDialog::make_divider(NonnullRefPtr<GUI::Widget>& parent)
|
|||
auto divider = parent->add<GUI::Frame>();
|
||||
divider->set_size_policy(GUI::SizePolicy::Fill, GUI::SizePolicy::Fixed);
|
||||
divider->set_preferred_size({ 0, 2 });
|
||||
divider->set_frame_shape(Gfx::FrameShape::HorizontalLine);
|
||||
divider->set_frame_shadow(Gfx::FrameShadow::Sunken);
|
||||
divider->set_frame_thickness(2);
|
||||
|
||||
parent->layout()->add_spacer();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue