Allingn controls wxPython

kyosohma at gmail.com kyosohma at gmail.com
Sun Dec 16 17:53:54 EST 2007


On Dec 15, 2:14 pm, SMALLp <po... at email.t-com.hr> wrote:
> Hy. I need help. I'm using BoxSizer and i put TextCtrl and StaticText
> next to each other and they gor alligned by top of TextCtrl and it looks
> terrible. How can i make thm to be alligned by center of each controll.
>
>                 Thnaks!

A shortcut flag is to just use wx.CENTER. You might find this wiki
entry useful:

http://wiki.wxpython.org/UsingSizers

This article may be fruitful as well:

http://www.devshed.com/c/a/Python/A-Close-Look-at-wxPython-Controls/

I personally use the wxPython in Action book by Dunn quite a bit. It's
got lots of information, although it's not well organized.

Mike



More information about the Python-list mailing list