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
21
S
7
G
4
Posts: 230
Reputation: 3,468

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
28
S
11
G
2
Posts: 139
Reputation: 3,299


Return to How do I....?

Who is online

Users browsing this forum: Diginampl, istero and 9 guests