From 9c4bdd6a639c3b685423e19ef12e7f4a53d139b0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 25 Jan 2025 00:43:17 +0100 Subject: Fix consistency of button stack gaps. --- src/wx/screens_panel.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wx/screens_panel.cc b/src/wx/screens_panel.cc index 7f1d58de4..43657e12b 100644 --- a/src/wx/screens_panel.cc +++ b/src/wx/screens_panel.cc @@ -99,9 +99,9 @@ ScreensPanel::ScreensPanel (wxWindow* parent) auto check_buttons = new wxBoxSizer (wxVERTICAL); _check_all = new Button (this, _("Check all")); - check_buttons->Add (_check_all, 1, wxEXPAND | wxBOTTOM, DCPOMATIC_BUTTON_STACK_GAP); + check_buttons->Add(_check_all, 1, wxEXPAND | wxBOTTOM | wxTOP, DCPOMATIC_BUTTON_STACK_GAP); _uncheck_all = new Button (this, _("Uncheck all")); - check_buttons->Add (_uncheck_all, 1, wxEXPAND | wxBOTTOM, DCPOMATIC_BUTTON_STACK_GAP); + check_buttons->Add(_uncheck_all, 1, wxEXPAND | wxBOTTOM | wxTOP, DCPOMATIC_BUTTON_STACK_GAP); side_buttons->Add (check_buttons, 1, wxEXPAND | wxTOP, DCPOMATIC_BUTTON_STACK_GAP * 8); -- cgit v1.2.3