changeset 506:2b5aa0e6e641

Moved min width from lada form superclass to concrete form classes.
author Raimund Renkert <raimund.renkert@intevation.de>
date Sat, 13 Dec 2014 14:09:57 +0100
parents 5d958fb1dd26
children 0c277c02eaef
files app/view/proben/CreateForm.js app/view/proben/EditForm.js app/view/widgets/LadaForm.js
diffstat 3 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/proben/CreateForm.js	Fri Dec 12 12:19:49 2014 +0100
+++ b/app/view/proben/CreateForm.js	Sat Dec 13 14:09:57 2014 +0100
@@ -22,6 +22,7 @@
     ],
 
     model: 'Lada.model.Probe',
+    minWidth: 650,
 
     initComponent: function() {
         this.items = [{
--- a/app/view/proben/EditForm.js	Fri Dec 12 12:19:49 2014 +0100
+++ b/app/view/proben/EditForm.js	Sat Dec 13 14:09:57 2014 +0100
@@ -26,6 +26,7 @@
     ],
 
     model: 'Lada.model.Probe',
+    minWidth: 650,
 
     initComponent: function() {
         this.items = [{
--- a/app/view/widgets/LadaForm.js	Fri Dec 12 12:19:49 2014 +0100
+++ b/app/view/widgets/LadaForm.js	Sat Dec 13 14:09:57 2014 +0100
@@ -18,7 +18,6 @@
     alias: 'widget.ladaform',
     bodyPadding: '10 10',
     border: 0,
-    minWidth: 650,
 
     /**
      * Can be a reference to a model instance or a model class name.

http://lada.wald.intevation.org