wxPython BoxSizer

Jamie McQuay Jamie.McQuay at googlemail.com
Wed Nov 19 13:22:36 EST 2008


>
> > FYI: There's a great wxPython mailing list too. Check it out here:http://wxpython.org/maillist.php
>
> thanks, i will take a look.

Here is the answer i got from the mailing list (and it works)

Try adding a spacer on both sides of text.

i.e)
box.AddStretchSpacer()
box.Add(myText, 0, wx.ALIGN_CENTER)
box.AddStretchSpacer()

jamie




More information about the Python-list mailing list