On Dec 15, 10:14 pm, SMALLp <[EMAIL PROTECTED]> 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!
Use the flag wx.ALIGN_CENTRE_VERTICAL when adding the controls to the sizer. If you have a number of StaticText/TextCtrl pairs, and you want them to line up underneath each other, use a FlexGridSizer or a GridBagSizer. Frank Millman -- http://mail.python.org/mailman/listinfo/python-list