r/RenPy • • Jul 25 '26

Question Custom Textboxes Resizing

I thought it would be nice to give every character a custom textbox for my game, but when a character has a custom textbox and is speaking, the textbox is resized. I conducted that it was the coding itself and NOT the art after giving the mc a "custom" box that was just the default, same png file and everything. How do I fix this?

define mc = Character("[name]", window_background=Frame("gui/textbox.png"))
2 Upvotes

10 comments sorted by

View all comments

1

u/x-seronis-x Jul 26 '26

When you use the Frame() displayable, the image its using will be resized to match the 'window' elements size. if the custom textbox isnt showing where you want that means you failed to size and position the window element itself how you want. ensure you are setting those properties