- How to add vertical distance between tree header & 1st node of that?
- How to set the background color of node' label when that node is selected.
Asked
Active
Viewed 847 times
0

Guest
- 19
- 5
1 Answers
0
I don't believe there is an easy way to add vertical distance between tree header and first node. It would be possible through making a customer TreeItemRenderer and just adding a gap at the top.
To change the background color of a node when it is selected you can use
myTree.setStyle( "selectionColor", 0x0000FF );
or declared in the mxml as a property of the control
<mx:Tree selectionColor="0x0000FF" />

Jason
- 2,503
- 3
- 38
- 46