beckerde
2009-05-13 11:44:06 UTC
Is there a way to make a wxFilePickerCtrl widget wider on a dialog ?
I create it, but it seems to use always a default size.
The code I have is as follows:
m_NomArchFue = new wxFilePickerCtrl( itemDialog1, ID_FILECTRL,
wxEmptyString, wxEmptyString, _T("*.TXT"), wxDefaultPosition,
wxSize(400, -1), wxFLP_DEFAULT_STYLE );
itemFlexGridSizer3->Add(m_NomArchFue, 1,
wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
Platform: wxGTK2, Fedora 10.
Tested with wxGTK-2.8.8, 2.8.9, 2.8.10 and 2.9.0-RC3
kind regards
Domingo Becker
I create it, but it seems to use always a default size.
The code I have is as follows:
m_NomArchFue = new wxFilePickerCtrl( itemDialog1, ID_FILECTRL,
wxEmptyString, wxEmptyString, _T("*.TXT"), wxDefaultPosition,
wxSize(400, -1), wxFLP_DEFAULT_STYLE );
itemFlexGridSizer3->Add(m_NomArchFue, 1,
wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
Platform: wxGTK2, Fedora 10.
Tested with wxGTK-2.8.8, 2.8.9, 2.8.10 and 2.9.0-RC3
kind regards
Domingo Becker