From 72b0ae6df82b5e54e3f135f0c341f564a8bd7bc2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 27 Mar 2022 23:39:21 +0200 Subject: [PATCH] Remove strange proportion values when adding content buttons. These seemed to cause the buttons to appear in strange places in some cases. --- src/wx/content_panel.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc index ceebd6e14..56a342bfe 100644 --- a/src/wx/content_panel.cc +++ b/src/wx/content_panel.cc @@ -104,11 +104,11 @@ ContentPanel::ContentPanel (wxNotebook* n, shared_ptr film, weak_ptrSetToolTip (_("Add a folder of image files (which will be used as a moving image sequence) or a folder of sound files.")); - b->Add (_add_folder, 1, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP); + b->Add (_add_folder, 0, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP); _add_dcp = new Button (_top_panel, _("Add DCP...")); _add_dcp->SetToolTip (_("Add a DCP.")); - b->Add (_add_dcp, 1, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP); + b->Add (_add_dcp, 0, wxEXPAND | wxALL, DCPOMATIC_BUTTON_STACK_GAP); _remove = new Button (_top_panel, _("Remove")); _remove->SetToolTip (_("Remove the selected piece of content from the film.")); -- 2.30.2