changeset 688:6a6d1b02a1a3

constrain windows to viewport
author Dustin Demuth <dustin@intevation.de>
date Wed, 25 Mar 2015 15:59:45 +0100
parents aedf0709af92
children c07419f07a0c c5b8896768a2
files app/view/window/MessungCreate.js app/view/window/MessungEdit.js app/view/window/OrtCreate.js app/view/window/OrtEdit.js app/view/window/ProbeCreate.js app/view/window/ProbeEdit.js
diffstat 6 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/window/MessungCreate.js	Wed Mar 25 15:45:33 2015 +0100
+++ b/app/view/window/MessungCreate.js	Wed Mar 25 15:59:45 2015 +0100
@@ -22,6 +22,7 @@
     autoshow: true,
     autoscroll: true,
     layout: 'fit',
+    constrain: true,
 
     record: null,
     grid: null,
--- a/app/view/window/MessungEdit.js	Wed Mar 25 15:45:33 2015 +0100
+++ b/app/view/window/MessungEdit.js	Wed Mar 25 15:59:45 2015 +0100
@@ -25,7 +25,7 @@
     autoshow: true,
     autoscroll: true,
     layout: 'fit',
-
+    constrain: true,
     record: null,
     grid: null,
 
--- a/app/view/window/OrtCreate.js	Wed Mar 25 15:45:33 2015 +0100
+++ b/app/view/window/OrtCreate.js	Wed Mar 25 15:59:45 2015 +0100
@@ -23,6 +23,7 @@
     maximizable: true,
     autoshow: true,
     layout: 'border',
+    constrain: true,
 
     record: null,
     grid: null,
--- a/app/view/window/OrtEdit.js	Wed Mar 25 15:45:33 2015 +0100
+++ b/app/view/window/OrtEdit.js	Wed Mar 25 15:59:45 2015 +0100
@@ -23,6 +23,7 @@
     maximizable: true,
     autoshow: true,
     layout: 'border',
+    constrain: true,
 
     record: null,
     grid: null,
--- a/app/view/window/ProbeCreate.js	Wed Mar 25 15:45:33 2015 +0100
+++ b/app/view/window/ProbeCreate.js	Wed Mar 25 15:59:45 2015 +0100
@@ -22,6 +22,7 @@
     autoShow: true,
     autoScroll: true,
     layout: 'fit',
+    constrain: true,
 
     record: null,
 
--- a/app/view/window/ProbeEdit.js	Wed Mar 25 15:45:33 2015 +0100
+++ b/app/view/window/ProbeEdit.js	Wed Mar 25 15:59:45 2015 +0100
@@ -26,6 +26,7 @@
     autoShow: true,
     autoScroll: true,
     layout: 'fit',
+    constrain: true,
 
     record: null,
 

http://lada.wald.intevation.org