[ wxwindows-Bugs-1908686 ] Can not set size for wxFilePickerCtrl

SourceForge.net noreply at sourceforge.net
Thu Mar 6 03:05:40 PST 2008


Bugs item #1908686, was opened at 2008-03-06 14:05
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1908686&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Common
Group: Feature request
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alexey Gaevsky (mutabor77)
Assigned to: Nobody/Anonymous (nobody)
Summary: Can not set size for wxFilePickerCtrl

Initial Comment:
Can not set size for wxFilePickerCtrl in constructor and minimum size for TextCtrl and PickerCtrl separately.
SetMinSize(wxSize(newWidth, wxDefaultCoord)) follows to changing PickerCtrl height to DEFAULT_ITEM_HEIGHT value.

Code sample:
wxFilePickerCtrl* picker= new wxFilePickerCtrl(parent, wxID_ANY, _fileName, wxT("Select file"), wxT("*.exe"), wxDefaultPosition, wxDefaultSize);

exporter->SetMinSize(wxSize(600, wxDefaultCoord));

MSW, 2.8.6

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1908686&group_id=9863




More information about the wx-dev mailing list