diff options
author | sin-ack <sin-ack@users.noreply.github.com> | 2021-08-17 00:10:51 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-18 10:30:50 +0200 |
commit | 9c9a5c55cb34c63f3b6d3bf36dcbc6c37a429677 (patch) | |
tree | 368b982eb9ccf6ccf55aa3cdfe5ea32d613c5aa4 /Userland/Applets/Audio | |
parent | c17f9adb1203501ae22f51188d02ed98b53128b7 (diff) | |
download | serenity-9c9a5c55cb34c63f3b6d3bf36dcbc6c37a429677.zip |
Userland+LibGUI: Make Margins arguments match CSS ordering
Previously the argument order for Margins was (left, top, right,
bottom). To make it more familiar and closer to how CSS does it, the
argument order is now (top, right, bottom, left).
Diffstat (limited to 'Userland/Applets/Audio')
-rw-r--r-- | Userland/Applets/Audio/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applets/Audio/main.cpp b/Userland/Applets/Audio/main.cpp index 54c7c5bd7c..b62dde9e91 100644 --- a/Userland/Applets/Audio/main.cpp +++ b/Userland/Applets/Audio/main.cpp @@ -63,7 +63,7 @@ public: m_root_container = m_slider_window->set_main_widget<GUI::Label>(); m_root_container->set_fill_with_background_color(true); m_root_container->set_layout<GUI::VerticalBoxLayout>(); - m_root_container->layout()->set_margins({ 0, 4, 0, 4 }); + m_root_container->layout()->set_margins({ 4, 0, 4, 0 }); m_root_container->layout()->set_spacing(0); m_root_container->set_frame_thickness(2); m_root_container->set_frame_shape(Gfx::FrameShape::Container); |