View Full Version : Limiting Window movements inside Viewport

6 Nov 2009, 8:11 AM
I was searching for an option to let the Window object be limited in movements inside
the application Viewport.
Expecially it's very annoying when the window is dragged up beyond the browser window, and if you release it there, there is no way to catch it again (unless you have a task bar w/Window Groups letting you maximize or close).
Is there any way to do it already or should I extend Viewport or Window?
Thanks for any help.

6 Nov 2009, 9:37 AM
See Ext.Window:: constrain and constrainHeader cfg options. ;)