[SOLVED] Textbox stretching when adding custom namebox
Posted: Sun Mar 12, 2017 3:33 am
Hello! I'm trying to add a custom namebox for 2 of the 4 textbox types I have in my game.
This is the issue right now. I want the textbox to expand upwards based on the amount of content, and it does this just fine without the custom namebox:
The current code in screens.rpy to try and add the namebox is this:
If I remove the last two lines, I can get the other screenshot.
Ideally, I want to get something like the textbox on the right in this mock: Any help is appreciated, thank you!
Code: Select all
screen say(who, what):
style_prefix "say"
window:
id "window"
text what id "what"
if who == "Cassidy":
add "gui/Cassidyplate.png" xalign 2.01 yalign -0.11 Ideally, I want to get something like the textbox on the right in this mock: Any help is appreciated, thank you!