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>

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.

What happens when you set minWidth and minHeight to 0 on the Canvas?

Reply via email to