2 Replies Latest reply on Sep 18, 2009 8:57 AM by zakabalt

    Change tree height dynamically

    zakabalt Level 1

      Hello, I have a tree in a VBox and I want to expand the tree height dynamically or put it 100%. I know that using <mx:Tree height=100%/> I can put it 100%, but I'm using tree.height. How can I do to don't see the line that Flex put it automaticaly in my Vbox?

       

      If someone say me how put 100% when I'm using tree.height = it enough. If someone have a better solution say also. I have listened about Tree.height = Tree.measuredHeightOfItems( , ); but I don't know how can I use it.