[SOLVED] Personnalise dialog window and specific "dialogue_width"

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
User avatar
Newnewbie
Newbie
Posts: 23
Joined: Sun Dec 08, 2019 4:06 am
Contact:

[SOLVED] Personnalise dialog window and specific "dialogue_width"

#1 Post by Newnewbie »

Hello,

I'm using this code to personnalize my specific dialog window:

Code: Select all

define z = Character(None, color="000", window_background="gui/textbox2.png", what_xpos = 65, dialogue_width = 700)
But my parameter "dialogue_width" doesn't seem to work for any reason or since my default windows have a lower value ("gui.dialogue_width = 570")

Is it possible to redefine my "dialogue_width" in this specific dialog window?

I checked this great tutorial : viewtopic.php?t=9233 but didn't find an answer.
Last edited by Newnewbie on Fri Jan 10, 2020 10:19 am, edited 1 time in total.

User avatar
RicharDann
Veteran
Posts: 286
Joined: Thu Aug 31, 2017 11:47 am
Contact:

Re: Personnalise dialog window and specific "dialogue_width"

#2 Post by RicharDann »

Try using what_xsize or what_xmaximum instead of dialogue_width, one of those should be a valid parameter to change the width of the text.
The most important step is always the next one.

User avatar
Newnewbie
Newbie
Posts: 23
Joined: Sun Dec 08, 2019 4:06 am
Contact:

Re: Personnalise dialog window and specific "dialogue_width"

#3 Post by Newnewbie »

Thank you very much for your help!

Post Reply

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot]