mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 07:14:57 +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
|
@ -59,9 +59,6 @@ HtmlView::HtmlView()
|
|||
update(adjusted_rect);
|
||||
};
|
||||
|
||||
set_frame_shape(Gfx::FrameShape::Container);
|
||||
set_frame_shadow(Gfx::FrameShadow::Sunken);
|
||||
set_frame_thickness(2);
|
||||
set_should_hide_unnecessary_scrollbars(true);
|
||||
set_background_role(ColorRole::Base);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue