If you set width only on your Text, and put it in a Canvas with no height set, it should grow as the Text component grows.
On Fri, Aug 1, 2008 at 11:57 AM, flexawesome <[EMAIL PROTECTED]> wrote: > Hey I was trying to figure out how to dynamically make the grow in > height with the textArea in my component. > > by checking the docs here > http://livedocs.adobe.com/flex/3/langref/mx/controls/TextArea.html#textH > eight > > I was called the validateNow() method on the line 76, I was tried both > height & textHeight. However, it didn't work correctly. > > _txtHolder.setActualSize( unscaledWidth, _txtHolder.height ); > _txtHolder.setActualSize( unscaledWidth, _txtHolder.textHeight ); > > > code is here: > > http://www.privatepaste.com/c1QXxA5NBO > > Any suggestion > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

