diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-16 21:23:12 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-16 21:23:31 +0200 |
commit | 00fa5dc53ec32cbe00ca667a05925d730b7996bc (patch) | |
tree | d9eac071a2f0b514835f8591efeefa98a36cd28d /Userland/Services/Taskbar/ShutdownDialog.cpp | |
parent | 551e13b407cfe5d513f75ce391a55e50945ab68c (diff) | |
download | serenity-00fa5dc53ec32cbe00ca667a05925d730b7996bc.zip |
Taskbar: Make shutdown dialog non-resizable and tweak button spacing
Diffstat (limited to 'Userland/Services/Taskbar/ShutdownDialog.cpp')
-rw-r--r-- | Userland/Services/Taskbar/ShutdownDialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Services/Taskbar/ShutdownDialog.cpp b/Userland/Services/Taskbar/ShutdownDialog.cpp index f947801c37..70fe10e798 100644 --- a/Userland/Services/Taskbar/ShutdownDialog.cpp +++ b/Userland/Services/Taskbar/ShutdownDialog.cpp @@ -95,6 +95,7 @@ ShutdownDialog::ShutdownDialog() auto& button_container = right_container.add<GUI::Widget>(); button_container.set_fixed_height(23); button_container.set_layout<GUI::HorizontalBoxLayout>(); + button_container.layout()->set_spacing(5); button_container.layout()->add_spacer(); auto& ok_button = button_container.add<GUI::Button>("OK"); ok_button.set_fixed_size(80, 23); @@ -109,7 +110,7 @@ ShutdownDialog::ShutdownDialog() resize(413, 235); center_on_screen(); - set_resizable(true); + set_resizable(false); set_title("Exit SerenityOS"); set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/power.png")); |