Return to Starling Playback Library

GAFTextField error when work with theme of feather

Questions related to Starling playback library should be asked here.

GAFTextField error when work with theme of feather

Postby Lê Huy Hùng » September 2nd, 2015, 10:10 pm

I have a feather's theme. In theme, I set defaultStyleFunction for TextInput. In game, all of GAFTextField change style same defaultStyle of TextInput. If I set styleProvider property = null, GAFTextField invisible. I want GAFTextField display style of it, not default stype of TextInput, please help me, thank.
User avatar
Lê Huy Hùng
 
Posts: 61
Joined: July 3rd, 2015, 8:32 pm

Re: GAFTextField error when work with theme of feather

Postby Lê Huy Hùng » September 3rd, 2015, 1:10 am

After debug, I see font property of GAFTextFieldTextEditor = "Arial Bold" and bold property = true. I change font property = "Arial", bold property still true, it work fine, textfield is visible and bold. I think it is bug of GAF, please fix it :D
User avatar
Lê Huy Hùng
 
Posts: 61
Joined: July 3rd, 2015, 8:32 pm

Re: GAFTextField error when work with theme of feather

Postby vadym.mitin » September 3rd, 2015, 6:47 am

Hi,

Can you provide us more technical details about your problem? Demo project will be enough to understand and recreate an issue. You can send a demo project through the Contact Us form http://gafmedia.com/contact (use Request type: Report issue). Or you can post a link to it here.
User avatar
vadym.mitin
 
Posts: 254
Joined: December 4th, 2013, 8:00 am

Re: GAFTextField error when work with theme of feather

Postby Lê Huy Hùng » September 3rd, 2015, 7:39 pm

Sorry, it is my bug, i change fontFamily when embed font and problem solved.

I have a question, In picture below, TextField is on the right and GAFTextField is on the left. GAFTextField look quite blurry, i want GAFTextField and TextField display are the same. Do you have some solution for me, thank you.

This is my demo :D
http://www.mediafire.com/download/3f93q ... AF+bug.rar

Image
User avatar
Lê Huy Hùng
 
Posts: 61
Joined: July 3rd, 2015, 8:32 pm

Re: GAFTextField error when work with theme of feather

Postby vadym.mitin » September 4th, 2015, 4:28 am

Hi,

Position of the Text Field in FLA is X:-19.6 Y:10.1 (with decimal). If you place it in position X:-19.0 Y:10.0 (without decimal) - it will look exactly like Starling Text Field in your example (without blurry).
User avatar
vadym.mitin
 
Posts: 254
Joined: December 4th, 2013, 8:00 am

Re: GAFTextField error when work with theme of feather

Postby Lê Huy Hùng » September 6th, 2015, 8:13 pm

thank, your solution worked fine :3
User avatar
Lê Huy Hùng
 
Posts: 61
Joined: July 3rd, 2015, 8:32 pm

Return to Starling Playback Library

Who is online

Users browsing this forum: No registered users and 2 guests