Have you tried setting the verticalScrollPolicy? If you want to refer to specific containers, give them an id so we can be sure which is being refered to.
This might be helpful: http://livedocs.adobe.com/flex/3/html/help.html?content=containers_intro_4.html Paul ----- Original Message ----- From: "aduston1976" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Sunday, July 13, 2008 12:17 AM Subject: [flexcoders] Stupid question regarding sizing of mxml components > Hi, here is an easy one: > > <mx:VBox width="200" height="300"> > <mx:VBox minHeight="0"> > ... lots of stuff ... > </mx:VBox> > <mx:VBox> > ... lots of stuff ... > </mx:VBox> > </mx:VBox> > > When lots of stuff is added, I want the top inner VBox to show > scrollbars, not the second. Any way to do this? Other than by setting > minHeight="0", which I've tried and which doesn't work? > > Here is a non-standard solution: I could change the outer VBox to a > VBox inheritor and override updateDisplayList, and then set > _first.height manually after calling super.updateDisplayList. Is this > totally wrong for any reason? Will I end up breaking Flex? > > Thanks, > Adam > > > ------------------------------------ > > -- > 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 > > > >

