[Lada-commits] [PATCH 7 of 9] Less ugly

Wald Commits scm-commit at wald.intevation.org
Fri May 22 16:14:41 CEST 2015


# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1432299742 -7200
# Node ID 18697326c86223d21570b3860d0c8ba07f97c724
# Parent  d369a7eb0a7f6713aa597b5eed1c47a93f34f687
Less ugly

diff -r d369a7eb0a7f -r 18697326c862 app/view/window/GenProbenFromMessprogramm.js
--- 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'


More information about the Lada-commits mailing list