--- In [email protected], "Manish Jethani" <[EMAIL PROTECTED]> wrote: > > On 6/6/07, Artur Kordowski [EMAIL PROTECTED] wrote: > > > <?xml version="1.0" encoding="utf-8"?> > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> > > > > <mx:Panel bottom="10" left="10" right="10" top="10" layout="absolute"> > > <mx:VBox bottom="5" left="50" right="50" top="5" borderColor="#CCCCCC" borderStyle="solid" borderThickness="1"> > > <mx:Canvas width="800" height="400" backgroundColor="#FFCC00"/> > > </mx:VBox> > > </mx:Panel> > > > > </mx:Application> >
Hi Manish, > If I understand your question correctly, you're expecting the VBox to > be sized as per the constraints and pop up scrollbars for content that > overflows. This is exactly what I expect. > What happens when you set minWidth and minHeight to 0 on the Canvas? When I set minWidth/minHeight to the Canvas I get the same behavior. The VBox is sized to the width of the Canvas and there are still no scrollbars. For real, sometimes it realy sucks to waste so much time on things that should work. Have any one an idea how I could fix this problem? Cheers, Artur

