1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 21:18:14 +00:00

LibGUI: Don't fill widgets with background color by defualt.

This commit is contained in:
Andreas Kling 2019-03-10 13:16:36 +01:00
parent 6836e21d1c
commit 5d69bf06d2
14 changed files with 12 additions and 16 deletions

View file

@ -64,6 +64,7 @@ GWindow* make_launcher_window()
window->set_rect(50, 50, 300, 60);
auto* widget = new GWidget;
widget->set_fill_with_background_color(true);
widget->set_layout(make<GBoxLayout>(Orientation::Horizontal));
widget->layout()->set_margins({ 5, 5, 5, 5 });
window->set_main_widget(widget);