[wxPython-users] Re: Sizing flag

Rooney, Mike (ext. 324) mxr at qvii.com
Fri Feb 9 09:36:09 PST 2007


>Or you could have it pass back a sizer instead, and then just add that 
>sizer to the main one.  The control can be sized, aligned, whatever as 
>needed within it's nested sizer.

That is a clever idea! If it is a checkbox, instead of returning
the control directly, it puts the checkbox inside a sizer, centered,
and returns that sizer instead. This seems to work pretty well, thanks!




More information about the wxpython-users mailing list