mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09:00
LibGUI: Use set_layout<LayoutType>() in lots of client code
This commit is contained in:
parent
03e0ddce52
commit
4697195645
Notes:
sideshowbarker
2024-07-19 08:54:51 +09:00
Author: https://github.com/awesomekling
Commit: 4697195645
45 changed files with 109 additions and 109 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue