[Solved] Wrapped textbutton cut off at the top?

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
017Bluefield
Regular
Posts: 93
Joined: Mon Dec 30, 2013 1:55 am
Projects: Project Bluefield - Origins
Organization: Autumn Rain
Deviantart: playerzero17
itch: autumn-rain
Contact:

[Solved] Wrapped textbutton cut off at the top?

#1 Post by 017Bluefield »

Code: Select all

    textbutton _("Unseen Text") ...
    textbutton _("After Choices") ...
In customizing my Preferences screens, I changed the containers for the options from vboxes to hboxes. In doing so, I've found that these two textbuttons wrap the text down to a given size (which I've tried to change). But the real glaring problem is because of that wrapping, the first word of each textbutton is forced upward, cutting the top half of "Unseen" and "After". How do I fix this?
Last edited by 017Bluefield on Mon Oct 29, 2018 8:37 pm, edited 1 time in total.

User avatar
Remix
Eileen-Class Veteran
Posts: 1628
Joined: Tue May 30, 2017 6:10 am
Completed: None... yet (as I'm still looking for an artist)
Projects: An un-named anime based trainer game
Contact:

Re: Wrapped textbutton cut off at the top?

#2 Post by Remix »

Code: Select all

textbutton "Some long text here":
    text_layout "nobreak"
Frameworks & Scriptlets:

017Bluefield
Regular
Posts: 93
Joined: Mon Dec 30, 2013 1:55 am
Projects: Project Bluefield - Origins
Organization: Autumn Rain
Deviantart: playerzero17
itch: autumn-rain
Contact:

Re: Wrapped textbutton cut off at the top?

#3 Post by 017Bluefield »

That works! Thank you!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], mtermik