I had a lot of problems using Label, like mouseovers would change my color back and mouseout woule not restore the new color.  I changed to a Canvas as the main container, with a  label in it and that fixed the issues.

 

Tracy

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of jcarrera04
Sent: Monday, July 24, 2006 10:19 PM
To: [email protected]
Subject: [flexcoders] SOLVED:Re: Change the color of the text/label for a tree node

 

Thanks! This solution worked.

--- In [EMAIL PROTECTED]ups.com, "Sergey Kovalyov"
<skovalyov.flexcode[EMAIL PROTECTED]> wrote:
>
> I did it using custom cell renderer. Make your cell renderer class
> inherited from Label and set color = item.color in setValue() method
> implementation. Also add color property to each item in your
> dataProvider.
>
> On 7/22/06, jcarrera04 <jcarrera04@...> wrote:
> > Can you change the color of the text/label for a tree node? I am
> > using Flex 1.5.
>

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





YAHOO! GROUPS LINKS




__,_._,___

Reply via email to