summaryrefslogtreecommitdiff
path: root/Applications/Taskbar/TaskbarWindow.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-02 09:48:11 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-02 15:09:48 +0100
commitd67da8c1015c923d799409fee9bf6dd2eafc82b8 (patch)
tree554e5304a94b3b5aab8d60cca5846a1643d00175 /Applications/Taskbar/TaskbarWindow.cpp
parent63364f8a5d70fbbf851c10cff4da62b1ae51177d (diff)
downloadserenity-d67da8c1015c923d799409fee9bf6dd2eafc82b8.zip
LibGUI: Add GHBoxLayout and GVBoxLayout convenience classes
Diffstat (limited to 'Applications/Taskbar/TaskbarWindow.cpp')
-rw-r--r--Applications/Taskbar/TaskbarWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/Taskbar/TaskbarWindow.cpp b/Applications/Taskbar/TaskbarWindow.cpp
index e755182a4e..558770f732 100644
--- a/Applications/Taskbar/TaskbarWindow.cpp
+++ b/Applications/Taskbar/TaskbarWindow.cpp
@@ -48,7 +48,7 @@ TaskbarWindow::TaskbarWindow()
auto widget = GFrame::construct();
widget->set_fill_with_background_color(true);
- widget->set_layout(make<GBoxLayout>(Orientation::Horizontal));
+ widget->set_layout(make<GHBoxLayout>());
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 = GFrame::construct(main_widget());
quick_launch_bar->set_size_policy(SizePolicy::Fixed, SizePolicy::Fixed);
- quick_launch_bar->set_layout(make<GBoxLayout>(Orientation::Horizontal));
+ quick_launch_bar->set_layout(make<GHBoxLayout>());
quick_launch_bar->layout()->set_spacing(3);
quick_launch_bar->layout()->set_margins({ 3, 0, 3, 0 });
quick_launch_bar->set_frame_thickness(1);