Page 1 of 1

Can speech bubble's size be edited with code (not with Shift+B) to fit the text's length and height?

Posted: Sun Apr 28, 2024 1:14 pm
by Sirifys-Al
I find it a bit inconvenient to edit bubbles during the game every time they are smaller than the text, so is there any way to set their height and width depending on the amount of text? Also the problem is that in renpy.variant('small') the text's size is bigger and I have to make bubbles too big for renpy.variant('PC') as well.
I know about this:

Code: Select all

define bubble.default_area = (14, 14, 8, 6)
But how do I use such things as x/yfit?
Thank you in advance!