text_align in text buttons?
Posted: Sun Feb 20, 2011 6:41 am
In python, it works, but when I tried to use it in screen language, like this:
I got an error:
Code: Select all
textbutton (sname) action Jump(slabel) text_style "maintxt" yminimum 200 xminimum 200 xalign .5 text_align .5Code: Select all
On line 48 of C:\- indie dev -\games\renpy.new\Remember Me/game/simulator.rpy: u'text_align' is not a keyword argument or valid child for the textbutton statement.
textbutton (sname) action Jump(slabel) text_style "maintxt" yminimum 200 xminimum 200 xalign .5 text_align .5