From fbcf15f5dbcb0d3e9080f615e3b7db35d5b4f3f9 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sat, 1 Sep 2012 18:34:05 +0200 Subject: [PATCH] Chapter editor: Let inputs stretch to right border --- src/mmg/tabs/chapters.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/mmg/tabs/chapters.cpp b/src/mmg/tabs/chapters.cpp index 28ad39f71..f70742bd8 100644 --- a/src/mmg/tabs/chapters.cpp +++ b/src/mmg/tabs/chapters.cpp @@ -204,6 +204,8 @@ tab_chapters::tab_chapters(wxWindow *parent, siz_column->Add(b_adjust_timecodes, 0, wxGROW | wxBOTTOM, 3); siz_fg->Add(siz_column, 0, wxLEFT | wxBOTTOM, 5); + siz_all->Add(siz_fg, 10, wxGROW | wxLEFT | wxRIGHT | wxBOTTOM, 10); + // Start of flex grid sizer siz_upper_fg = new wxFlexGridSizer(4, 5, 5); siz_upper_fg->AddGrowableCol(1, 1); @@ -255,12 +257,9 @@ tab_chapters::tab_chapters(wxWindow *parent, tc_segment_edition_uid = new wxTextCtrl(this, ID_TC_SEGMENT_EDITION_UID, wxEmptyString); siz_upper_fg->Add(tc_segment_edition_uid, 1, wxGROW | wxALIGN_CENTER_VERTICAL); - siz_fg->Add(siz_upper_fg, 1, wxGROW | wxRIGHT, 5); + siz_all->Add(siz_upper_fg, 0, wxGROW | wxLEFT | wxRIGHT | wxBOTTOM, 10); // End of flex grid sizer - siz_fg->Add(1, 0, 0, 0, 0); - - siz_all->Add(siz_fg, 1, wxGROW | wxLEFT | wxRIGHT | wxBOTTOM, 10); sb_names = new wxStaticBox(this, wxID_STATIC, wxEmptyString); siz_sb = new wxStaticBoxSizer(sb_names, wxVERTICAL);