Get the current dimensions of the dialogue box

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
Vluut Games
Newbie
Posts: 10
Joined: Tue Jan 09, 2018 12:45 am
Tumblr: vluutgames
itch: vluut
Contact:

Get the current dimensions of the dialogue box

#1 Post by Vluut Games »

Is there a way to get the current dimensions of the dialogue box as a query? I am going to use an auto-expanding frame with yfill, and I would like to know the current position and size of the dialogue box so that I can dynamically position things around it.

Thanks!

User avatar
Kia
Eileen-Class Veteran
Posts: 1040
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Re: Get the current dimensions of the dialogue box

#2 Post by Kia »

you can use align and combine it with offset to position items around your frame

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]