From 46a27a4e46adc5bfdc58b4b5e3ec244ba9a3357f Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Fri, 27 Apr 2012 19:07:36 +0000 Subject: [PATCH] Eliminate excess spacing from CellSkip Originally committed to SVN as r6722. --- 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 227955dae..cd978faa5 100644 --- a/aegisub/src/preferences_base.cpp +++ b/aegisub/src/preferences_base.cpp @@ -127,7 +127,7 @@ void OptionPage::Add(wxSizer *sizer, wxString const& label, T *control) { } void OptionPage::CellSkip(wxFlexGridSizer *flex) { - flex->Add(new wxStaticText(this, -1, ""), wxSizerFlags().Border()); + flex->AddStretchSpacer(); } wxControl *OptionPage::OptionAdd(wxFlexGridSizer *flex, const wxString &name, const char *opt_name, double min, double max, double inc) {