Hi
I have customized Tree Control using TreeItemRenderer. I want to show
disclosureClosedIcon and disclosureOpenIcon after the label. By
default these icons are displayed before the label. In the
updateDisplayList method of TreeItemRenderer i have the code below.
Using this code disclosureClosedIcon and disclosureOpenIcon are
displayed after label.
override protected function updateDisplayList(unscaledWidth:Number,
unscaledHeight:Number):void{
super.updateDisplayList(unscaledWidth, unscaledHeight);
if (disclosureIcon)
{
disclosureIcon.x = (label.x+label.textWidth+20);
}
}
Now the problem i am facing is that when i put the mouse over the
tree control then the portion where the deafult icons were is also
selected( shows blue ). I do not want to have that portion blue. I
just want label,disclosureClosedIcon and disclosureOpenIcon to be
highlighted blue.
Thanks
ilikeflex