[flexcoders] Re: Color icon(s) in tree control

2009-03-17 Thread sandi_krese
Anybody? Please ...

[flexcoders] Re: Color icon(s) in tree control

2009-03-17 Thread sandi_krese
Below you can read custom TreeItemRenderer, where I'm trying to color defaultleaficon in red (in original it's white square). The last line super.icon = mc; is obviously not valid. Please help me. public class CDSTreeItemRenderer extends TreeItemRenderer {

[flexcoders] Re: Color icon(s) in tree control

2009-03-16 Thread sandi_krese
Hi, changing icon is not the issue, changing color of icon is. Can you be more specific about changing color? --- In flexcoders@yahoogroups.com, duraibalaji duraibal...@... wrote: Hi, try using itemrenderer, changing the icon first and then try for changing the color. regards DB