2 text box questions

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
justanartistnamedkim
Newbie
Posts: 18
Joined: Fri Jul 15, 2011 4:14 pm
Contact:

2 text box questions

#1 Post by justanartistnamedkim »

1: Is there any way to put more space between the name and the dialogue?
2: My text box jumps up if the text is over two lines. could someone please help?

http://s1198.photobucket.com/albums/aa4 ... t=help.jpg

you can sort of see it here but it's hard to tell because there's no backround

User avatar
PyTom
Ren'Py Creator
Posts: 16096
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: 2 text box questions

#2 Post by PyTom »

Hit shift+I over the text to style inspect it. You should get a list of styles. One of them corresponds to a multibox - probably style.say_two_window_vbox, but it could be say_vbox depending on how you did your game. Adjust style.say_two_window_vbox.box_spacing until the amount of spacing is suitable for your game.
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

justanartistnamedkim
Newbie
Posts: 18
Joined: Fri Jul 15, 2011 4:14 pm
Contact:

Re: 2 text box questions

#3 Post by justanartistnamedkim »

I hit shift i and it had the multibox but I don't understand how to adjust it.

User avatar
leon
Miko-Class Veteran
Posts: 554
Joined: Sun Oct 09, 2011 11:15 pm
Completed: Visual Novel Tycoon, Night at the Hospital, Time Labyrinth, The Buried Moon, Left of Center, Super Otome Quest
Projects: Lemon Project, Porcelain Heart, Dream's Dénouement
Organization: Team ANARKY
Contact:

Re: 2 text box questions

#4 Post by leon »

Style inspector is just to find out the name of the item, you are trying to style. Depending on the name of your textbox, you change the style with:

Code: Select all

init python:
    style.say_two_window_vbox.box_spacing = 10
or

Code: Select all

init python:
    style.say_vbox.box_spacing = 10

justanartistnamedkim
Newbie
Posts: 18
Joined: Fri Jul 15, 2011 4:14 pm
Contact:

Re: 2 text box questions

#5 Post by justanartistnamedkim »

Thank you very much. This fixed my first problem but my text box still jumps around.

justanartistnamedkim
Newbie
Posts: 18
Joined: Fri Jul 15, 2011 4:14 pm
Contact:

Re: 2 text box questions

#6 Post by justanartistnamedkim »

Like, if there's one line of text it's fine but if there's two then it moves up the screen.

justanartistnamedkim
Newbie
Posts: 18
Joined: Fri Jul 15, 2011 4:14 pm
Contact:

Re: 2 text box questions

#7 Post by justanartistnamedkim »

bump

Post Reply

Who is online

Users browsing this forum: dragondatingsim, Ocelot