diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-03-27 23:39:21 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-04-02 22:27:02 +0200 |
| commit | 95ff32d5029578c10effc293fd8d470a29e162d2 (patch) | |
| tree | 59a501cb0b3d0c05f27ee6a4ba1b381ea87f9441 /src | |
| parent | a4a4067cf09e1ddb007ebec022d1d415cd65b630 (diff) | |
Remove strange proportion values when adding content buttons.
These seemed to cause the buttons to appear in strange places in some
cases.
Diffstat (limited to 'src')
| -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 e2a236937..b1008647c 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.")); |
