]> git.saurik.com Git - wxWidgets.git/commitdiff
make listbox taller
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 Jan 2002 01:31:05 +0000 (01:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 Jan 2002 01:31:05 +0000 (01:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/widgets/widgets.cpp

index 8f7a0588341094014b627dce23a7838758773b19..4955226402c22bf8c36b0094ba2f2bdc94c16e24 100644 (file)
@@ -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);