PDA

View Full Version : Window sizing question



radha_v
5 Feb 2010, 4:22 PM
I am having trouble with Window sizing.
I have a Ext.Window instance that contains two components.
I am using border layout for the window.
'north' is a Dataview and I have set the height to 40. 'center' is a formPanel which has - autoHeight: true.
If I set the height of the window it renders correctly.
The form is dynamic and its height is a variable.
If I set the window's autoHeight to true, only the window's header is rendered...!

What is the correct way to set the window height so that it conforms to the minimum required height for the formPanel and with out having the vertical scrollbars show up?



Thanks for your help.