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:
parent
03dede4dc1
commit
9a995b1a42
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user