Set text/box size according to it's content

Get help using Construct 2

Post » Fri Dec 07, 2012 10:11 am

Hello fellas,

I can't find the way, how to change the text/text box size according to it's content. There's also no option like text container auto-resize.

Any work arounds?
B
45
S
11
G
4
Posts: 517
Reputation: 7,393

Post » Sat Dec 08, 2012 3:09 am

Theres a variable in text objects called Text.TextWidth, just set the width to that number whenever needed.
B
46
S
14
G
7
Posts: 603
Reputation: 8,116

Post » Sat Dec 08, 2012 10:21 am

Thanks, didn't notice it.
B
45
S
11
G
4
Posts: 517
Reputation: 7,393


Return to How do I....?

Who is online

Users browsing this forum: David181, jorgmaquoi, MPPlantOfficial, SignalOne and 20 guests