wxPython BoxSizer

Jamie McQuay Jamie.McQuay at googlemail.com
Wed Nov 19 12:33:30 EST 2008


>
> Try the style=wx.CENTER like this:
>
> box.Add(myText,0,wx.CENTER)

tried but i still get the same result.  The text is either at the top
of the panel (centered) or in the middle (on the left side).  If i
manually call CenterOnParent when the panel is resized it goes to the
center but i want to get the sizers to work correctly for this.

>
> FYI: There's a great wxPython mailing list too. Check it out here:http://wxpython.org/maillist.php

thanks, i will take a look.

Jamie




More information about the Python-list mailing list