From eb01dcf0cb6072a3b5b5944b36f52b3d3d0309f1 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 12 Jul 2024 19:38:32 +0200 Subject: Fix spacing of screens panel buttons. Now they match the ones in the content panel. --- src/wx/screens_panel.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wx/screens_panel.cc b/src/wx/screens_panel.cc index d3b1db77d..1caa9af6b 100644 --- a/src/wx/screens_panel.cc +++ b/src/wx/screens_panel.cc @@ -80,17 +80,17 @@ ScreensPanel::ScreensPanel (wxWindow* parent) auto target_buttons = new wxBoxSizer (wxVERTICAL); _add_cinema = new Button (this, _("Add Cinema...")); - target_buttons->Add (_add_cinema, 1, wxEXPAND | wxBOTTOM, DCPOMATIC_BUTTON_STACK_GAP); + target_buttons->Add (_add_cinema, 1, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP); _edit_cinema = new Button (this, _("Edit Cinema...")); - target_buttons->Add (_edit_cinema, 1, wxEXPAND | wxBOTTOM, DCPOMATIC_BUTTON_STACK_GAP); + target_buttons->Add (_edit_cinema, 1, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP); _remove_cinema = new Button (this, _("Remove Cinema")); - target_buttons->Add (_remove_cinema, 1, wxEXPAND | wxBOTTOM, DCPOMATIC_BUTTON_STACK_GAP); + target_buttons->Add (_remove_cinema, 1, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP); _add_screen = new Button (this, _("Add Screen...")); - target_buttons->Add (_add_screen, 1, wxEXPAND | wxBOTTOM, DCPOMATIC_BUTTON_STACK_GAP); + target_buttons->Add (_add_screen, 1, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP); _edit_screen = new Button (this, _("Edit Screen...")); - target_buttons->Add (_edit_screen, 1, wxEXPAND | wxBOTTOM, DCPOMATIC_BUTTON_STACK_GAP); + target_buttons->Add (_edit_screen, 1, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP); _remove_screen = new Button (this, _("Remove Screen")); - target_buttons->Add (_remove_screen, 1, wxEXPAND | wxBOTTOM, DCPOMATIC_BUTTON_STACK_GAP); + target_buttons->Add (_remove_screen, 1, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP); side_buttons->Add (target_buttons, 0, 0); -- cgit v1.2.3