Try yourTextArea.validateNow() after adding the extra text. I seem to remember that works, though I can't swear to it I'm afraid (and can't check just now).
-----Original Message----- From: flexcoders@yahoogroups.com on behalf of Jack @ Zingit Sent: Mon 05/05/2008 19:29 To: flexcoders@yahoogroups.com Subject: [flexcoders] TextArea but no scroll bars showing up Flex 2.01 This seems so dumb, but I can not figure this out. I am using Modules with layout="absolute". In a MXML file I have a TextArea where I have set the width="300" and height="35". <mx:TextArea top="10" left="30" width="300" height="35"/> I can add text beyond 2 lines, but no scroll bar is displayed. If I set the height="100%" then the scroll bar shows up when I type text beyond 2 lines. I can also place it inside a VBox and set height="100%", but that just adds unnecessary code. That also causes other positioning problems. However, I want/need to set the TextArea's height. What am I missing? Is there a simple way? Thanks, Jack ______________________________________________________________________ This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577. This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person. This email has been scanned for Primal Pictures by the MessageLabs Email Security System. ______________________________________________________________________
<<winmail.dat>>