Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Hello everybody! I need to change the location of the text and buttons in the "Settings", "Help", "About", etc. But I don`t know how to do it. I tried to write xalign after the hbox:
lFeedYoul wrote: ↑Mon Oct 08, 2018 12:01 am
Hello everybody! I need to change the location of the text and buttons in the "Settings", "Help", "About", etc. But I don`t know how to do it. I tried to write xalign after the hbox:
but testing it, the way you have written it worked too.
0.1 is just a small movement from 0.0. Might it be that you just didn't notice the movement? Did you possibly intend to make the movement 1.0 instead (to the right side)
lFeedYoul wrote: ↑Mon Oct 08, 2018 12:50 pm
I need to make the text to the left. How to do it?
xalign 0.0 is all the way left
xalign 0.5 is in the middle
xalign 1.0 is all the way to the right
The default is all the way to the left. If you don't add anything about xalign you will be as far left as it goes with the hbox.
You could test with a negative number. That would put you left of the 0 point. I don't think that will turn out well though. But you could put it to the test.
i.e.
xalign -0.1