1 Reply Latest reply on Jul 6, 2010 7:25 AM by VRPDeveloper

    TreeItemRenderer - Wrapping Long Text

    wmiller453

      Hi Everybody,

      I have a Tree component where I have created a custom TreeItemRenderer. The data supplied to the tree nodes is quite long and gets cut off so I'm trying to wrap the text for each node. My renderer does display the text wrapped, but all the child nodes are covered with the parent node's text overrun. I've searched everywhere I can think of but can't find an example of how to implement this. I know the tree uses a label by default for displaying the text which won't allow for multiple lines/text wrapping so is there a way around this? An example would be most beneficial as I'm not overly familiar with Flex trees. BTW... I'm using Flex 3