From da09d71239481843d33ae260a081d95e58bbb4b4 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 16 Nov 2011 21:59:39 +0000 Subject: [PATCH] Expand text boxes in the preferences dialog to fill available space Originally committed to SVN as r5865. --- aegisub/src/preferences_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/preferences_base.cpp b/aegisub/src/preferences_base.cpp index 023a0cd1a..a5fd8ce61 100644 --- a/aegisub/src/preferences_base.cpp +++ b/aegisub/src/preferences_base.cpp @@ -119,7 +119,7 @@ OptionPage::OptionPage(wxTreebook *book, Preferences *parent, wxString name, int template void OptionPage::Add(wxSizer *sizer, wxString const& label, T *control) { sizer->Add(new wxStaticText(this, -1, label), 1, wxEXPAND | wxALIGN_CENTRE_VERTICAL); - sizer->Add(control); + sizer->Add(control, wxSizerFlags().Expand()); } void OptionPage::CellSkip(wxFlexGridSizer *flex) {