View Full Version : Ext.Window (Constraining to the Center Region)

1 Feb 2010, 3:35 PM
I have a simple Border Layout, with two regions (South, Center). The south is a taskbar type idea, and the center is the desktop.

The question I have, is how to a constrain a Window Element to just the desktop region such that it when I maximize it, it does not cover the entire viewport? I understand that by default, Ext.Window renders to the document.getBody() so it is living outside my layout.


1 Feb 2010, 3:43 PM
Well, that was a quick resolution. I was previously adding this to the desktop through Component.add(...), I switched this to using the render(Ext.Element) method on the Window object and all is good.