Struggling to anchor textbox down

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.
Post Reply
Message
Author
cookiecrumble
Newbie
Posts: 4
Joined: Mon Apr 10, 2017 6:52 am
Contact:

Struggling to anchor textbox down

#1 Post by cookiecrumble »

I'm working on a script where one of the characters' text appears on the right hand side of the screen. The problem is, the textbox isn't starting from where it should be.

The current code I'm using is window_xalign=1.0, but this is what happens when I run the script from the top:
xalign.png
If I change the code to what_xalign=1.0, this happens:
whatxalign.png
I've tried using window_xalign and what_xalign together, but in that case window_xalign is ignored. I've tried setting a xminimum, but that's been ignored as well. Any help would be really appreciated.

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Struggling to anchor textbox down

#2 Post by PyTom »

Is this with the new gui?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Belgerum