PDA

View Full Version : Limiting Window movements inside Viewport



gbulfon
6 Nov 2009, 8:11 AM
Hello,
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.
Gabriele.

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