I'm struggling with a tree problem.
Normal labels show up like this:
Very long labels however show up like this:
1. Indent of the first line
2. following lines are too close to the icon
3. icon should be placed at the top
This is how I want the label to be presented:
Any help is welcome,
You may have to make a custom TreeItemRenderer that extends the TreeItemRenderer class and do your stuff there. I looked at the updateDisplayList method of TreeItemRenderer.as and that seems to be the part of interest to you which is where the set the y variable for the icon and disclosureIcon. There is a style parameter in that method too that is used alight the label also.
I know that I should extend the TreeItemRenderer class but I haven't been able to find the right properties and styles so far. I will look into it further. thx