Text.TextWidth always 0

Bugs will be moved here once resolved.

Post » Wed Feb 11, 2015 10:28 am

Hi Scirra,

This expression seems useless. always returns zero... also for height.
Version is 196.2

text0.capx


Any tipps for using welcome :)

Thanks :)
You do not have the required permissions to view the files attached to this post.
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Wed Feb 11, 2015 11:55 am

It doesn't update straight away when you change the text (or on start of layout I guess). You have to wait at least 1 tick.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,680

Post » Thu Feb 12, 2015 12:08 am

Great, Thank you!

text1.capx


Fixed.
You do not have the required permissions to view the files attached to this post.
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Thu Feb 12, 2015 1:17 pm

Closing, please always follow the bug report guidelines, and refer to the manual where this is documented.
Scirra Founder
B
403
S
238
G
89
Posts: 24,654
Reputation: 196,155


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests