You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to get different colors for the icon and the text? I have a button that has both icon and text, and I would like to use different colors for the two parts. However, button.setFATitleColor() sets the color fot both icon and text.
The text was updated successfully, but these errors were encountered:
While it is true you can create the effect by having multiple labels, it really defeats the (really cool, IMHO) feature of setFAText all being in one place (with pre and post text).
So, as in the example given in the docs, a scenario where I would like to have a Twitter log be blue (to better match their coloring), while I have pre and post text that I want to have in black (for example), I would then have to have THREE labels..........
And, then, the spacing between the text and icon might not be the same - or, even difficult to set, etc......
I.e., I am a big fan of the idea to have ONE line to do this! (my particular example at this moment is to show a rating number and FAStar next to it - I will do multiple labels {no other choice!}, though it would be great not to have to do this...)
BTW, a suggestion on settings:
field.setFAIconColor()
field.setFATextColor()
or (if you really wanted to get 'fancy' and give ultimate control...):
field.setFAPrefixTextColor()
field.setFAPostfixTextColor()
Hi,
Is there any way to get different colors for the icon and the text? I have a button that has both icon and text, and I would like to use different colors for the two parts. However, button.setFATitleColor() sets the color fot both icon and text.
The text was updated successfully, but these errors were encountered: