should be application width/height=100%
panel widht/height =100% minWidth/minHeight=0

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Sean Sell
Sent: Wednesday, May 09, 2007 5:12 AM
To: [email protected]
Subject: Re: [flexcoders] How to control what scrolls



Don't know why but my application tag disappeared:




----- Original Message ----
From: Sean Sell <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, May 9, 2007 8:05:06 AM
Subject: [flexcoders] How to control what scrolls



Given the following code:

<?xml version="1.0" encoding="utf- 8"?>

    <mx:Panel id="panel1" layout="vertical">
        <mx:Form id="form1">
            <mx:FormHeading label="Heading" />
            <mx:FormItem label="Label">
                <mx:TextInput/>
            </mx:FormItem>
            <mx:FormItem label="Label">
                <mx:TextInput/>
            </mx:FormItem>
            <mx:FormItem label="Label">
                <mx:TextInput/>
            </mx:FormItem>
            <mx:FormItem label="Label">
                <mx:TextInput/>
            </mx:FormItem>
            <mx:FormItem label="Label">
                <mx:TextInput/>
            </mx:FormItem>
            <mx:FormItem label="Label">
                <mx:List></mx:List>
            </mx:FormItem>
            <mx:FormItem label="Label">
                <mx:List></mx:List>
            </mx:FormItem>
        </mx:Form>
        <mx:ControlBar id="cBar1">
            <mx:Button label="Button" />
        </mx:ControlBar>
    </mx:Panel>
</mx:Application>

I want the application to always be the size of the browser window, the
panel to take up all the space and the control bar to always be visible.
So if the browser window is too small I what to scroll the form. How do
I get this to work.

P.S. What does height 100% vs. not specifying any height one the
application vs. containers within the app.

--Sean


________________________________

Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos.
<http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;
_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM
->  


________________________________

8:00? 8:25? 8:40? Find a flick
<http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news>  in no
time
with theYahoo! Search movie showtime shortcut.
<http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news>  

 

Reply via email to