View Full Version : [CLOSED] Ext:Window set to Height of 100% and Width: 100%

Oct 09, 2008, 12:43 PM
From the layout sample that is provided, is it possible to keep a window's height and width set at a 100% so that when the browser is resized, the window will maintain the aspect ratio?

For example if you look at this : http://www.extjs.com/deploy/dev/examples/layout/complex.html you will notice how the window will automatically resize to the browser's width and height. I cannot find a way to do this with Coolite extender control, eg(ext:window control). Maybe I'm missing something.

Thanks for any help you could provide.

Oct 09, 2008, 12:49 PM
Hi JMan,

The ExtJS sample you linked to demonstrates the ViewPort. Basically the sample code sample is also demonstrated in our Examples Explorer, see https://examples1.ext.net/#/ViewPort/Basic/Built_in_Markup/

Hope this helps.

Oct 09, 2008, 1:14 PM
That is perfect, thank you so much for the quick response.