[flexcoders] Detect text wrap?

2007-05-03 Thread qnotemedia
I have a collection of vertically placed TextInput and TextArea boxes. I'm using a resize function that manually resizes each of the boxes' heights depending on the amount of text that is in each, so that there's never any extra space, and all of the text is always displayed. Since these are

Re: [flexcoders] Detect text wrap?

2007-05-03 Thread Manish Jethani
On 5/3/07, qnotemedia [EMAIL PROTECTED] wrote: I have a collection of vertically placed TextInput and TextArea boxes. I'm using a resize function that manually resizes each of the boxes' heights depending on the amount of text that is in each, so that there's never any extra space, and all of

Re: [flexcoders] Detect text wrap?

2007-05-03 Thread Daniel Freiman
It might be easier to override the TextInput or TextArea and set the autoSize of the UITextField to true, and then having the TextArea determine the height of itself by the height of the UITextField. This UITextField should also throw a resize event so you'll only have to detect when the size