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
54
S
28
G
18
Posts: 1,520
Reputation: 25,070

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
363
S
216
G
75
Posts: 23,120
Reputation: 180,539


Return to Closed bugs

Who is online

Users browsing this forum: AngelRave and 2 guests