I finally got around to testing this in Flex 3. Even with Flex 3 and setting minheight/minwidth, I still get those scrollbars. Any other possible fixes (preferably Flex 2)?
Thanks --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > There's a couple of older threads in the archives on this topic. > Setting minHeight/minWIdth=0 often helps > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of dfalling > Sent: Wednesday, January 16, 2008 2:43 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] container width > parent container's width when > vertical scrollbar present > > > > I've run into a really annoying issue... If I have a container that > is higher than its parent container, it will add not only a vertical > scrollbar, but also a horizontal scrollbar. It does this even if its > width is set to 100% and it has plenty of room to display its > contents. The really frustrating thing about this is that no matter > how wide you resize the container, it will never be able to fit its > contents...it's always missing the same amount of space. > > To test, simply use the following code. Note the horizontal > scrollbar that will not go away. > > <mx:Canvas width="90%" height="400"> > <mx:Canvas width="100%" height="440"/> > </mx:Canvas> >