Return to Starling Playback Library

GAF Textfield - Color not saving

Questions related to Starling playback library should be asked here.

Re: GAF Textfield - Color not saving

Postby vanderweelesimon » January 22nd, 2016, 8:39 am

Awesome man! Thanks a lot for your help, it was a mutual benefit :)!
User avatar
vanderweelesimon
 
Posts: 20
Joined: November 24th, 2014, 5:00 am

Re: GAF Textfield - Color not saving

Postby vanderweelesimon » January 22nd, 2016, 8:43 am

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?
User avatar
vanderweelesimon
 
Posts: 20
Joined: November 24th, 2014, 5:00 am

Re: GAF Textfield - Color not saving

Postby vadym.mitin » January 22nd, 2016, 10:25 am

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.
User avatar
vadym.mitin
 
Posts: 254
Joined: December 4th, 2013, 8:00 am

Re: GAF Textfield - Color not saving

Postby vanderweelesimon » January 22nd, 2016, 11:02 am

Cheers mate, will seriously help me out !
User avatar
vanderweelesimon
 
Posts: 20
Joined: November 24th, 2014, 5:00 am

Re: GAF Textfield - Color not saving

Postby Назар Левицкий » January 25th, 2016, 4:32 am

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
User avatar
Назар Левицкий
 
Posts: 12
Joined: June 6th, 2014, 12:01 am

Re: GAF Textfield - Color not saving

Postby vanderweelesimon » January 25th, 2016, 10:33 am

You guys are amazing, thanks!
User avatar
vanderweelesimon
 
Posts: 20
Joined: November 24th, 2014, 5:00 am

Return to Starling Playback Library

Who is online

Users browsing this forum: No registered users and 1 guest