Hello Guys, Inside documentation we can find "resizeToContent" property:
<mx:ViewStack resizeToContent="true"> So it's a good practice to read documentation sometimes :) Best regards Stanislav On 12/27/05, Matt Chotin <[EMAIL PROTECTED]> wrote: > Look into the margin styles maybe? > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Sergey Kovalyov > Sent: Tuesday, December 27, 2005 8:43 AM > To: [email protected] > Subject: [flexcoders] Extra space problem in ViewStack while using Text > with 100% width defined > > Hi All! > > Look at this application: > > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"> > <mx:ViewStack width="100%" borderStyle="solid"> > <mx:VBox width="100%" borderStyle="solid"> > <mx:Text width="100%" text="An Ithaca College dean is > encouraging students to instead think small - and she's offering a > $5,000 > prize to do it. The school has invited high school and college students > across America to submit a 30-second movie shot entirely with a cell > phone." > /> > </mx:VBox> > </mx:ViewStack> > </mx:Application> > > Why does extra space appear below the text? What is the proper way to > get > rid of this bug? Thank you. > > Regards, Sergey. > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> AIDS in India: A "lurking bomb." Click and help stop AIDS now. http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

