Return to Starling Playback Library
GAF Textfield - Color not saving
16 posts
• Page 2 of 2 • 1, 2
Re: GAF Textfield - Color not saving
Awesome man! Thanks a lot for your help, it was a mutual benefit
!

-
vanderweelesimon - Posts: 20
- Joined: November 24th, 2014, 5:00 am
Re: GAF Textfield - Color not saving
Also while we're on the GAFTextfield discussion, how do I get the text height? I've got a dynamic textfield with a size of 90 but sometimes the text takes less than that, so I need the actual text height, what's the function please?
-
vanderweelesimon - Posts: 20
- Joined: November 24th, 2014, 5:00 am
Re: GAF Textfield - Color not saving
Right now there are no functions to get textWidth and textHeight. But I think we can add them to the GAFTextField. On Monday we will investigate technical details of the implementation. I'll post an update here.
-
vadym.mitin - Posts: 254
- Joined: December 4th, 2013, 8:00 am
Re: GAF Textfield - Color not saving
Cheers mate, will seriously help me out !
-
vanderweelesimon - Posts: 20
- Joined: November 24th, 2014, 5:00 am
Re: GAF Textfield - Color not saving
Hi vanderweelesimon,
We've added "textWidth" and "textHeight" getters to GAFTextField, that return width and height of the text in pixels accordingly.
Please update the library from git.
Documentation is also updated https://gafmedia.com/docs/starling/trunk/com/catalystapps/gaf/display/GAFTextField.html
We've added "textWidth" and "textHeight" getters to GAFTextField, that return width and height of the text in pixels accordingly.
Please update the library from git.
Documentation is also updated https://gafmedia.com/docs/starling/trunk/com/catalystapps/gaf/display/GAFTextField.html
-
Назар Левицкий - Posts: 12
- Joined: June 6th, 2014, 12:01 am
Re: GAF Textfield - Color not saving
You guys are amazing, thanks!
-
vanderweelesimon - Posts: 20
- Joined: November 24th, 2014, 5:00 am
16 posts
• Page 2 of 2 • 1, 2
Return to Starling Playback Library
Who is online
Users browsing this forum: No registered users and 2 guests