Hey list, here is some example code I've tried in Windows XP and
Ubuntu 9.04. It makes the frame, gives it a sizer, and adds a
wx.StaticText to it with the wx.ALIGN_CENTER flag. However, the center
alignment only works in windows and is completely ignored in Linux. I
tried googling this and got zero results, which probably means that
I'm doing something stupid. Any one know what's wrong?
Hey list, here is some example code I've tried in Windows XP and
Ubuntu 9.04. It makes the frame, gives it a sizer, and adds a
wx.StaticText to it with the wx.ALIGN_CENTER flag. However, the center
alignment only works in windows and is completely ignored in Linux. I
tried googling this and got zero results, which probably means that
I'm doing something stupid. Any one know what's wrong?
Hmmm... The wxGTK code is setting the justification of the label widget, but maybe it needs to be doing some additional step. Please submit a ticket about this. In the meantime you can use the sizer to do the alignment for you.