Make the file and dir picket controls expand in widgets sample.

The controls were too small to see long paths in them comfortably while there
was plenty of space in the page, use wxEXPAND flag for them.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2011-08-27 14:11:17 +00:00
parent 03dede4dc1
commit 9a995b1a42
2 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ void DirPickerWidgetsPage::CreateContent()
// right pane
m_sizer = new wxBoxSizer(wxVERTICAL);
m_sizer->Add(1, 1, 1, wxGROW | wxALL, 5); // spacer
m_sizer->Add(m_dirPicker, 0, wxALIGN_CENTER|wxALL, 5);
m_sizer->Add(m_dirPicker, 0, wxEXPAND|wxALL, 5);
m_sizer->Add(1, 1, 1, wxGROW | wxALL, 5); // spacer
// global pane

View File

@ -183,7 +183,7 @@ void FilePickerWidgetsPage::CreateContent()
// right pane
m_sizer = new wxBoxSizer(wxVERTICAL);
m_sizer->Add(1, 1, 1, wxGROW | wxALL, 5); // spacer
m_sizer->Add(m_filePicker, 0, wxALIGN_CENTER|wxALL, 5);
m_sizer->Add(m_filePicker, 0, wxEXPAND|wxALL, 5);
m_sizer->Add(1, 1, 1, wxGROW | wxALL, 5); // spacer
// global pane