0

so i am creating this message field with

self.text = wx.TextCtrl(panel, pos=(150,22),size=(100,20))

and it works, no problem
but i'd like that the text gets written from the right and not the left
which is a pain...

anyone have a slight clue on how to do it ?
help appreciated :)

2
Contributors
6
Replies
8
Views
6 Years
Discussion Span
Last Post by ciliath
0

Use the style wx.TE_RIGHT ok?

eg

wx.TextCtrl(self,-1,style=wx.TE_RIGHT)

thanks :'D

0

Just look around.. something live thread solved button or link.

and dont forget to upvote me. ;)

yay, found the button :'D

you're already upvoted :p

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.