From: Vadim Zeitlin Date: Fri, 26 Apr 2013 19:41:07 +0000 (+0000) Subject: Minor visual enhancement in the combobox page of the widgets sample. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/85eae08d6ce974f10ddcf28cca0f72b05af3a254 Minor visual enhancement in the combobox page of the widgets sample. Expand the lower static box to align it with the upper one, otherwise they look really ugly, especially under Mac. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/widgets/combobox.cpp b/samples/widgets/combobox.cpp index 7f1bf88a2f..6ab44a7109 100644 --- a/samples/widgets/combobox.cpp +++ b/samples/widgets/combobox.cpp @@ -298,7 +298,7 @@ void ComboboxWidgetsPage::CreateContent() wxSizer *sizerLeft = new wxBoxSizer(wxVERTICAL); sizerLeft->Add(sizerLeftTop); sizerLeft->AddSpacer(10); - sizerLeft->Add(sizerLeftBottom); + sizerLeft->Add(sizerLeftBottom, wxSizerFlags().Expand()); // middle pane wxStaticBox *box2 = new wxStaticBox(this, wxID_ANY,