Jack Andrews wrote:
hi again,
having real problems with sizer-ing my dialog. to reproduce my
problem, run the attached script and choose File->Open. My dialog
isn't laid out as i'd like. can't see the new toolbook control (it's
only showing a part of it...).
See http://wiki.wxpython.org/index.cgi/WindowSizeInfo
Since your panels don't have a sizer, then they don't have a best size that has any meaning. So the listbook's best size is also minimal since all of its pages are tiny, and when you do a SetSizerAndFit you end up with the dialog being fitted to that small size. If you have a page(s) in the listbook that has actual content managed by a sizer[*], then that will trickle up and affect the best size of the listbook and also the dialog as a whole.
[*] Or you can just set the min size of one or more of the page windows.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!