diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-03-27 23:39:21 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-03-28 09:54:41 +0200 |
| commit | 82546514c89c650acd2f52091685403e2a092bc5 (patch) | |
| tree | 1739145683dacce58bf4a618755c6f00fe76044b | |
| parent | ef75460b74fd0e8ce4f69a08cf658ad5e3705aae (diff) | |
Remove strange proportion values when adding content buttons.
These seemed to cause the buttons to appear in strange places in some
cases.
| -rw-r--r-- | src/wx/content_panel.cc | 4 |
1 files 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> film, weak_ptr<FilmV _add_folder = new Button (_top_panel, _("Add folder...")); _add_folder->SetToolTip (_("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.")); |
