I have a horizontal box sizer, there are 3 StaticText widgets and a button in this sizer. The button’s size is 48x48. When I put all these in the horizontal sizer, the texts appear on the top side of the sizer, because the button’s height is big.
How do I align these StaticTexts vertically in center of the sizer?
Probably the easiest way would be to nest the horizontal sizer inside of a vertical sizer.
Mike
···
On Thursday, August 7, 2014 2:38:46 PM UTC-5, steve wrote:
Hi,
I have a horizontal box sizer, there are 3 StaticText widgets and a button in this sizer. The button’s size is 48x48. When I put all these in the horizontal sizer, the texts appear on the top side of the sizer, because the button’s height is big.
How do I align these StaticTexts vertically in center of the sizer?