diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-07-12 19:38:32 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-07-13 11:51:49 +0200 |
| commit | eb01dcf0cb6072a3b5b5944b36f52b3d3d0309f1 (patch) | |
| tree | 31633b01f903c332d893feed71d63196db1ad47e | |
| parent | 353623956a5091838a0b0b6ee929692a37bffb04 (diff) | |
Fix spacing of screens panel buttons.
Now they match the ones in the content panel.
| -rw-r--r-- | src/wx/screens_panel.cc | 12 |
1 files 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); |
