mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-27 01:50:24 +00:00
About: Oops, fill the window with background color.
This commit is contained in:
parent
49f273c4ca
commit
4919b926f4
Notes:
sideshowbarker
2024-07-19 15:03:07 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/4919b926f48
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…
Reference in a new issue