diff app/view/window/GenProbenFromMessprogramm.js @ 807:18697326c862

Less ugly
author Dustin Demuth <dustin@intevation.de>
date Fri, 22 May 2015 15:02:22 +0200
parents 975183ab775e
children 3bc19188fc3a
line wrap: on
line diff
--- a/app/view/window/GenProbenFromMessprogramm.js	Fri May 22 14:54:00 2015 +0200
+++ b/app/view/window/GenProbenFromMessprogramm.js	Fri May 22 15:02:22 2015 +0200
@@ -77,18 +77,26 @@
             border: 0,
             autoScroll: true,
             items: [{
-                xtype: 'text',
-                text: i18n.getMsg('nameofmessprogramm')+ ' '
+                xtype: 'panel',
+                border: 0,
+                margin: 5,
+                layout: 'fit',
+                html: '<p>'
+                    + i18n.getMsg('nameofmessprogramm')
+                    + '<br/>'
+                    + this.record.get('name')
+                    + '</p>'
             }, {
-                xtype: 'text',
-                text: this.record.get('name')
-            }, {
-                xtype: 'text',
-                text: ' ' + i18n.getMsg('messprogtimeperiod')
+                xtype: 'panel',
+                border: 0,
+                margin: 5,
+                layout: 'fit',
+                html: '<p>' + i18n.getMsg('messprogtimeperiod') + '</p>'
             }, {
                 xtype: 'datetime',
                 fieldLabel: i18n.getMsg('from'),
                 labelWidth: 90,
+                margin: 5,
                 name: 'start',
                 format: 'd.m.Y H:i',
                 period: 'start'
@@ -96,6 +104,7 @@
                 xtype: 'datetime',
                 fieldLabel: i18n.getMsg('to'),
                 labelWidth: 90,
+                margin: 5,
                 name: 'end',
                 format: 'd.m.Y H:i',
                 period: 'end'

http://lada.wald.intevation.org