mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 05:15:07 +00:00
LibGUI: Convert GWidget to ObjectPtr
This commit is contained in:
parent
e4e92980a1
commit
ff6ce422dd
41 changed files with 115 additions and 107 deletions
|
@ -75,7 +75,7 @@ GWindow* make_launcher_window()
|
|||
window->set_show_titlebar(false);
|
||||
window->set_window_type(GWindowType::Launcher);
|
||||
|
||||
auto* widget = new GWidget;
|
||||
auto widget = GWidget::construct();
|
||||
widget->set_fill_with_background_color(true);
|
||||
widget->set_layout(make<GBoxLayout>(vertical ? Orientation::Vertical : Orientation::Horizontal));
|
||||
widget->layout()->set_spacing(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue