From 9e7697cd54968bcdec0d48781b3fb075629eecee Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 10 Jul 2013 10:45:22 +0100 Subject: [PATCH] Fix a couple of layout bits. --- src/wx/film_editor.cc | 5 ++--- 1 file 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); -- 2.30.2