1 Reply Latest reply on Aug 30, 2008 2:19 AM by yigitt

    resize Text Area Control

    litesh
      Hi Guys
      I want to resize the height of text area control as per the length of text dynamically. how i can do it ???
      PlZ Help me out
      ThanX
        • 1. Re: resize Text Area Control
          yigitt
          you can find your answer directly from the livedocs...
          anyway, this should work:

          <mx:TextArea textInput="{ta.height = ta.textHeight + 20;}" id="ta"/>

          you could directly bind height to textHeight but i think textHeight is not bindable.