Hi Olaf,

Perfect, I will try this. Thanks for your continued assistance, appreciate
it.

Rgs

Sugan

-----Original Message-----
From: OK [mailto:[email protected]] 
Sent: Wednesday, March 30, 2016 9:32 AM
To: [email protected]
Subject: Re: Flatspark - TextInputIcon component - Change colour of text
font

Sugan Naicker wrote
> Is there a way of changing the colour of the text fonts on Flatspark 
> components eg. The TextInputIcon?

For the 'TextInputIcon' it seems to me that the text color is hardcoded to
'ColorUtils.WetAsphalt' inside its skin:
https://github.com/apache/flex-sdk/blob/develop/frameworks/projects/flatspar
k/src/flatspark/skins/TextInputIconSkin.mxml#L323

You could use a custom skin that removes the hardcoded color setting. Simply
remove 'color="{ColorUtils.WetAsphalt}"' from the 'textDisplay' component. 
After doing this you probably could use the color style just like you are
used to:

<components:TextInputIcon color="#FF0000" />

HTH,
Olaf




--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/Flatspark-TextInputIcon-compo
nent-Change-colour-of-text-font-tp12357p12369.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Reply via email to