changeset 832:d9824c49e781

GenProbenWindow: Resize
author Dustin Demuth <dustin@intevation.de>
date Tue, 16 Jun 2015 10:11:36 +0200
parents e3bd911b576b
children 392be36fe3ac
files app/view/window/GenProbenFromMessprogramm.js app/view/window/ProbeCreate.js
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/window/GenProbenFromMessprogramm.js	Mon Jun 15 16:53:51 2015 +0200
+++ b/app/view/window/GenProbenFromMessprogramm.js	Tue Jun 16 10:11:36 2015 +0200
@@ -105,8 +105,8 @@
                 });
             }
         }];
-        this.width = 400;
-        this.height = 300;
+        this.width = 350;
+        this.height = 250;
 
         // add listeners to change the window appearence when it becomes inactive
         this.on({
@@ -148,6 +148,7 @@
                 fieldLabel: i18n.getMsg('from'),
                 labelWidth: 90,
                 margin: 5,
+                width: 300,
                 name: 'start',
                 format: 'd.m.Y H:i',
                 period: 'start'
@@ -156,6 +157,7 @@
                 fieldLabel: i18n.getMsg('to'),
                 labelWidth: 90,
                 margin: 5,
+                width: 300,
                 name: 'end',
                 format: 'd.m.Y H:i',
                 period: 'end'
--- a/app/view/window/ProbeCreate.js	Mon Jun 15 16:53:51 2015 +0200
+++ b/app/view/window/ProbeCreate.js	Tue Jun 16 10:11:36 2015 +0200
@@ -52,6 +52,7 @@
         this.items = [{
             border: 0,
             autoScroll: true,
+            layout: 'fit',
             items: [{
                 xtype: 'probeform'
             }]

http://lada.wald.intevation.org