mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibGUI: Use set_layout<LayoutType>() in lots of client code
This commit is contained in:
@@ -83,7 +83,7 @@ VBPropertiesWindow::VBPropertiesWindow()
|
||||
|
||||
auto widget = GUI::Widget::construct();
|
||||
widget->set_fill_with_background_color(true);
|
||||
widget->set_layout(make<GUI::VerticalBoxLayout>());
|
||||
widget->set_layout<GUI::VerticalBoxLayout>();
|
||||
widget->layout()->set_margins({ 2, 2, 2, 2 });
|
||||
set_main_widget(widget);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user