Problem with text alignment

Gabriel Genellina gagsl-py2 at
Wed Mar 4 12:43:28 CET 2009

En Wed, 04 Mar 2009 06:14:41 -0200, alejandro  
<aleksandar27 at> escribió:

> I can't align the text on the right in my wxDialog.
> Everything else works fine
> self.sirina = wx.StaticText(self,-1,'',(200,50),style=wx.ALIGN_RIGHT)

In case there is a misunderstanding, ALIGN_RIGHT means that the text  
itself is right aligned inside the widget, not that the widget is placed  
against the right border of its container.

Gabriel Genellina

More information about the Python-list mailing list