2 Replies Latest reply on Jul 17, 2006 9:05 AM by Par4gon

    Auto size dynamic textarea

    Par4gon
      hi,

      Im trying to create a dynamic textarea that contains text loaded with asp/xml this works, but i want it to adjust the height automaticly depending on the size of the content.

      This is how it looks now.

      <mx:TextArea minHeight="200" borderThickness="0" verticalScrollPolicy="off" id="myid" editable="false" wordWrap="true" width="650" htmlText="{productsRequest.lastResult.product.producttext}" textAlign="left" borderStyle="none" fontSize="12" />

      I did found it how to do it with actionscript but not with mxml.

      thx