You can use a calculated height: height="{this.height}"

Tracy

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of arieljake
Sent: Monday, November 05, 2007 9:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: application/container scrolling

 

If I don't want to set an explicit height on the form, can i get the
VBox container to handle the scrolling somehow?

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> You need an explicit height on the form to produce the scrollbars.
> 
> 
> 
> You can use a calculated height: height="{this.height}"
> 
> 
> 
> Tracy
> 
> 
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of arieljake
> Sent: Monday, November 05, 2007 8:11 PM
> To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] application/container scrolling
> 
> 
> 
> When i compile this app, I get no scrollbars. I expect the Form
> container to add scrollbars, not the Application. What am I
> misunderstanding here?
> 
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application backgroundColor="#FFFFFF"
> xmlns:mx="http://www.adobe.com/2006/mxml
<http://www.adobe.com/2006/mxml> 
> <http://www.adobe.com/2006/mxml <http://www.adobe.com/2006/mxml> > " 
> height="100%" verticalScrollPolicy="off">
> 
> <mx:VBox height="100%">
> 
> <mx:Form height="100%">
> 
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field 10" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field 20" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field 30" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field 40" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field 50" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field 60" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field 70" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field" />
> <mx:FormItem label="Field 80" />
> 
> </mx:Form>
> 
> </mx:VBox>
> 
> </mx:Application>
>

 

Reply via email to