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
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com