wxFilePickerCtrl size problem/question [ wxGTK 2.8.0 ]

Vadim Zeitlin vadim at wxwindows.org
Sat Mar 17 20:09:45 PDT 2007


On Thu, 15 Mar 2007 18:02:14 -0300 Ian Britten <britten at caris.com> wrote:

IB> The case I'm focusing on is when wxFLP_USE_TEXTCTRL is used, and how
IB> the size of the Button versus the size of the TextCtrl gets
IB> determined.

 The SetTextCtrlProportion() and SetPickerCtrlProportion() methods can be
used to change this.

IB> The ideal behaviour I can imagine, is where the Button part is
IB> automatically sized to be big enough to show most/all of the file
IB> name, and all the remaining size of the Picker is given to the
IB> TextCtrl.

 But this could mean that the text control has no place for more than 1 or
2 characters -- would this really be better? I don't think so...

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list