View Full Version : Panel fitting to the screen

15 Mar 2011, 1:03 AM
Is it possible to make a panel fitting to the screen (but without use of viewport)
This is a design purpose, I've a header and footer bar that I can't remove, however the center of the screen should resize with browser
I tried this but this is only working when width is resizing, height remains unchanged :

var panel = new Ext.Panel({
renderTo: 'content',
fullscreen: true,
monitorResize: true,
autoWidth: true,
autoHeight: true,
layout: 'fit',

I think it may be the items in my panel have a very tiny height

15 Mar 2011, 1:16 AM
search for FitToParent plugin in this forum.