how to wordwrap in flex tree node

Posted by Sam Jones on Stack Overflow See other posts from Stack Overflow or by Sam Jones
Published on 2009-05-22T17:51:26Z Indexed on 2010/04/09 7:03 UTC
Read the original article Hit count: 635

Filed under:
|

I have a Tree object in my Flex code. It's width is 100%, and it is contained by a Panel with width=200. I am using a custom itemrenderer that extends TreeItemRenderer.

I need the text in each node to word wrap if it's too big (as happens often). I have tried

label.wordWrap = true;

in my item renderer without any luck. Any other suggestions?

© Stack Overflow or respective owner

Related posts about flex

Related posts about tree