From 9a995b1a4207661426214e532e81589fd0b2d39d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 27 Aug 2011 14:11:17 +0000 Subject: [PATCH] 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 --- samples/widgets/dirpicker.cpp | 2 +- samples/widgets/filepicker.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/widgets/dirpicker.cpp b/samples/widgets/dirpicker.cpp index 13a664bc8a..6614c0a8b2 100644 --- a/samples/widgets/dirpicker.cpp +++ b/samples/widgets/dirpicker.cpp @@ -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 diff --git a/samples/widgets/filepicker.cpp b/samples/widgets/filepicker.cpp index 1c91ca6a6e..28cbc3f821 100644 --- a/samples/widgets/filepicker.cpp +++ b/samples/widgets/filepicker.cpp @@ -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 -- 2.47.2