summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-10 10:45:22 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-10 10:45:22 +0100
commit9e7697cd54968bcdec0d48781b3fb075629eecee (patch)
tree244897f37e7fd096a96933285ce450b252bd75b6
parentb18f5b520bf0bdb7a74c93beafcee40d81f91fe4 (diff)
Fix a couple of layout bits.
-rw-r--r--src/wx/film_editor.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc
index a33851960..0bfb8ab6c 100644
--- a/src/wx/film_editor.cc
+++ b/src/wx/film_editor.cc
@@ -393,7 +393,7 @@ FilmEditor::make_audio_panel ()
add_label_to_sizer (grid, _audio_panel, _("Audio Stream"), true);
_audio_stream = new wxChoice (_audio_panel, wxID_ANY);
- grid->Add (_audio_stream, 1);
+ grid->Add (_audio_stream, 1, wxEXPAND);
_audio_description = new wxStaticText (_audio_panel, wxID_ANY, wxT (""));
grid->AddSpacer (0);
@@ -441,8 +441,7 @@ FilmEditor::make_subtitle_panel ()
add_label_to_sizer (grid, _subtitle_panel, _("Subtitle Stream"), true);
_subtitle_stream = new wxChoice (_subtitle_panel, wxID_ANY);
- grid->Add (_subtitle_stream, 1, wxEXPAND | wxALL, 6);
- grid->AddSpacer (0);
+ grid->Add (_subtitle_stream, 1, wxEXPAND);
_subtitle_offset->SetRange (-1024, 1024);
_subtitle_scale->SetRange (1, 1000);