1
Fork 0
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:
Andreas Kling 2019-03-14 19:24:08 +01:00
parent 49f273c4ca
commit 4919b926f4

View file

@ -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);