mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 12:27:35 +00:00
About: Oops, fill the window with background color.
This commit is contained in:
parent
49f273c4ca
commit
4919b926f4
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ int main(int argc, char** argv)
|
|||
|
||||
auto* widget = new GWidget;
|
||||
window->set_main_widget(widget);
|
||||
widget->set_fill_with_background_color(true);
|
||||
widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
|
||||
widget->layout()->set_margins({ 0, 8, 0, 8 });
|
||||
widget->layout()->set_spacing(8);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue