Hi dbronk, I need the top vbox to scroll but not the bottom one. Assuming that your sdk is sufficiently similar to mine, the solution you gave makes them both scroll. You can achieve this effect very easily without the Canvas components in your solution: just set height="50%" and minHeight="0" for both inner VBoxes. Unless I'm missing something in your reply, the original problem remains unsolved. Adam
--- In [email protected], "dbronk" <[EMAIL PROTECTED]> wrote: > > Not sure why, seems like a bug. But if you wrap the inner vbox's in a > canvas it works. > > <mx:VBox width="200" height="300" borderStyle="solid"> > <mx:Canvas height="50%" width="100%" > horizontalScrollPolicy="off"> > <mx:VBox height="100%" width="100%"> > <mx:Text text="blah" /> > <mx:Text text="blah" /> > <mx:Text text="blah" /> > <mx:Text text="blah" /> > <mx:Text text="blah" /> > <mx:Text text="blah" /> > <mx:Text text="blah" /> > <mx:Text text="blah" /> > <mx:Text text="blah" /> > <mx:Text text="blah" /> > <mx:Text text="blah" /> > <mx:Text text="blah" /> > </mx:VBox> > </mx:Canvas> > <mx:Canvas height="50%" width="100%" > horizontalScrollPolicy="off"> > <mx:VBox height="100%" width="100%"> > <mx:Text text="blah2" /> > <mx:Text text="blah2" /> > <mx:Text text="blah2" /> > <mx:Text text="blah2" /> > <mx:Text text="blah2" /> > <mx:Text text="blah2" /> > <mx:Text text="blah2" /> > <mx:Text text="blah2" /> > <mx:Text text="blah2" /> > <mx:Text text="blah2" /> > </mx:VBox> > </mx:Canvas> > </mx:VBox> > > > > --- In [email protected], "Paul Andrews" <paul@> wrote: > > > > 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" <aduston@> > > 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 > > > > > > > > > > > > > > >

