Re: Problem with text alignment

2009-03-04 Thread alejandro
>> self.sirina = wx.StaticText(self,-1,'Some text that\n will be alignet >> \nat the right',(200,50),style=wx.ALIGN_RIGHT) #- this would be an example, the reason I didnt understand is that I used just one line of text I understand now. Can I align it on the right withot usi

Re: Problem with text alignment

2009-03-04 Thread Gabriel Genellina
En Wed, 04 Mar 2009 06:14:41 -0200, alejandro 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 rig

Problem with text alignment

2009-03-04 Thread alejandro
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) -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem with text alignment

2009-03-04 Thread alejandro
Here is the whole dialog: class OpcijeFolija(wx.Dialog): def __init__(self, parent, id, title): wx.Dialog.__init__(self,parent, id, title, size=(300,300)) foli=cPickle.load(file("folije.data")) #-- dropdown self.combo = wx.ComboBox(self,