From: Carl Hetherington Date: Sun, 27 Mar 2022 21:39:21 +0000 (+0200) Subject: Remove strange proportion values when adding content buttons. X-Git-Tag: v2.16.9~20 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=82546514c89c650acd2f52091685403e2a092bc5 Remove strange proportion values when adding content buttons. These seemed to cause the buttons to appear in strange places in some cases. --- 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."));