diff options
author | Andreas Kling <kling@serenityos.org> | 2020-03-04 09:43:54 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-04 13:49:48 +0100 |
commit | 4697195645a4c66930761c85685f5752dc777bba (patch) | |
tree | cc77feb29541d43323a5edce70f05412ab1e8e68 /Applications/Taskbar/TaskbarWindow.cpp | |
parent | 03e0ddce5237b6ad7b84724ef03039e413944f00 (diff) | |
download | serenity-4697195645a4c66930761c85685f5752dc777bba.zip |
LibGUI: Use set_layout<LayoutType>() in lots of client code
Diffstat (limited to 'Applications/Taskbar/TaskbarWindow.cpp')
-rw-r--r-- | Applications/Taskbar/TaskbarWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/Taskbar/TaskbarWindow.cpp b/Applications/Taskbar/TaskbarWindow.cpp index 2a20d4148f..f5ec210829 100644 --- a/Applications/Taskbar/TaskbarWindow.cpp +++ b/Applications/Taskbar/TaskbarWindow.cpp @@ -48,7 +48,7 @@ TaskbarWindow::TaskbarWindow() auto widget = GUI::Frame::construct(); widget->set_fill_with_background_color(true); - widget->set_layout(make<GUI::HorizontalBoxLayout>()); + widget->set_layout<GUI::HorizontalBoxLayout>(); widget->layout()->set_margins({ 3, 2, 3, 2 }); widget->layout()->set_spacing(3); widget->set_frame_thickness(1); @@ -71,7 +71,7 @@ void TaskbarWindow::create_quick_launch_bar() { auto quick_launch_bar = main_widget()->add<GUI::Frame>(); quick_launch_bar->set_size_policy(GUI::SizePolicy::Fixed, GUI::SizePolicy::Fixed); - quick_launch_bar->set_layout(make<GUI::HorizontalBoxLayout>()); + quick_launch_bar->set_layout<GUI::HorizontalBoxLayout>(); quick_launch_bar->layout()->set_spacing(3); quick_launch_bar->layout()->set_margins({ 3, 0, 3, 0 }); quick_launch_bar->set_frame_thickness(1); |