diff options
Diffstat (limited to 'Userland/Applets')
-rw-r--r-- | Userland/Applets/Audio/main.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Userland/Applets/Audio/main.cpp b/Userland/Applets/Audio/main.cpp index 01135dd17d..6f4d1c81c8 100644 --- a/Userland/Applets/Audio/main.cpp +++ b/Userland/Applets/Audio/main.cpp @@ -82,9 +82,7 @@ private: m_root_container = TRY(m_slider_window->set_main_widget<GUI::Frame>()); m_root_container->set_fill_with_background_color(true); - m_root_container->set_layout<GUI::VerticalBoxLayout>(); - m_root_container->layout()->set_margins({ 4 }); - m_root_container->layout()->set_spacing(0); + m_root_container->set_layout<GUI::VerticalBoxLayout>(4, 0); m_root_container->set_frame_shape(Gfx::FrameShape::Window); m_percent_box = m_root_container->add<GUI::CheckBox>(String::from_utf8_short_string("\xE2\x84\xB9"sv)); |