mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
Applications: Tweak main layout spacing and background
This commit is contained in:
parent
fa0bab843a
commit
0af5e0b9f8
5 changed files with 8 additions and 5 deletions
|
@ -82,7 +82,8 @@ int main(int argc, char* argv[])
|
|||
|
||||
auto& widget = window->set_main_widget<GUI::Widget>();
|
||||
widget.set_layout<GUI::VerticalBoxLayout>();
|
||||
widget.layout()->set_spacing(0);
|
||||
widget.set_fill_with_background_color(true);
|
||||
widget.layout()->set_spacing(2);
|
||||
|
||||
auto& toolbar_container = widget.add<GUI::ToolBarContainer>();
|
||||
auto& toolbar = toolbar_container.add<GUI::ToolBar>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue