How do I set text object's scale correctly

Get help using Construct 2

Post » Sun Feb 08, 2015 11:29 pm

Whenever I'm trying to get my text object's text from a variable, the text box doesn't rescale itself. How do I make a text object that scales itself to fit the text correctly, preferably with a limited width. I tried normally changing the text and then setting its scale with TextObject.TextHeight and .TextWidth etc. but that rarely worked like how I wanted to. The box usually came out too high and too thin etc.

Hope I didn't confuse you with my way of explaining my problem.
B
15
S
5
G
4
Posts: 216
Reputation: 3,128

Post » Mon Feb 09, 2015 2:47 am

don't scale the textbox scale the text size and also make sure the textbox area is big enough to fit the text inside it
Image
B
25
S
9
G
2
Posts: 139
Reputation: 3,024


Return to How do I....?

Who is online

Users browsing this forum: Greaver, jeffige, Nxs and 32 guests