From: Vadim Zeitlin Date: Wed, 9 Jan 2002 01:31:05 +0000 (+0000) Subject: make listbox taller X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/88633ca7c65c189634f39c4850030a0e1eb9ddfb make listbox taller git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/widgets/widgets.cpp b/samples/widgets/widgets.cpp index 8f7a058834..4955226402 100644 --- a/samples/widgets/widgets.cpp +++ b/samples/widgets/widgets.cpp @@ -251,6 +251,8 @@ WidgetsFrame::WidgetsFrame(const wxString& title) ); m_lboxLog = new wxListBox(m_panel, -1); sizerDown->Add(m_lboxLog, 1, wxGROW | wxALL, 5); + sizerDown->SetMinSize(100, 200); + wxBoxSizer *sizerBtns = new wxBoxSizer(wxHORIZONTAL); wxButton *btn = new wxButton(m_panel, Widgets_ClearLog, _T("Clear &log")); sizerBtns->Add(btn);