[Lada-commits] [PATCH 1 of 2] Fixed messprogramm window layout

Wald Commits scm-commit at wald.intevation.org
Tue May 12 16:46:46 CEST 2015


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1431441977 -7200
# Node ID a85069813d43a243767ef9e08af6b6a371781a95
# Parent  dd6925ef602857c8a4141d8674ba220de0a008a0
Fixed messprogramm window layout.

diff -r dd6925ef6028 -r a85069813d43 app/view/grid/Messmethoden.js
--- a/app/view/grid/Messmethoden.js	Tue May 12 15:12:02 2015 +0200
+++ b/app/view/grid/Messmethoden.js	Tue May 12 16:46:17 2015 +0200
@@ -22,7 +22,7 @@
     viewConfig: {
         deferEmptyText: false
     },
-    margin: '0, 5, 5, 0',
+    margin: '0, 5, 5, 5',
 
     recordId: null,
     allowDeselect: true,
diff -r dd6925ef6028 -r a85069813d43 app/view/grid/Nuklide.js
--- a/app/view/grid/Nuklide.js	Tue May 12 15:12:02 2015 +0200
+++ b/app/view/grid/Nuklide.js	Tue May 12 16:46:17 2015 +0200
@@ -23,7 +23,7 @@
         deferEmptyText: false,
         markDirty: false //Remove Dirty-Flags
     },
-    margin: '0, 0, 5, 5',
+    margin: '0, 5, 5, 5',
 
     recordId: null,
     allowDeselect: true,
diff -r dd6925ef6028 -r a85069813d43 app/view/window/Messprogramm.js
--- a/app/view/window/Messprogramm.js	Tue May 12 15:12:02 2015 +0200
+++ b/app/view/window/Messprogramm.js	Tue May 12 16:46:17 2015 +0200
@@ -82,19 +82,21 @@
             }, {
                 //Messmethoden
                 xtype: 'fieldset',
+                padding: '5, 5',
                 title: i18n.getMsg('mmtmessprogramm.form.fieldset.title'),
-                autoScroll: true,
                 margin: 5,
                 layout: {
-                    type: 'hbox',
+                    type: 'column'
                 },
                 items: [{
                     xtype: 'messmethodengrid',
                     recordId: this.record? this.record.get('id') : null,
+                    columnWidth: 0.5,
                     flex: 1
                 }, {
                     xtype: 'nuklidegrid',
                     recordId: this.record? this.record.get('id') : null,
+                    columnWidth: 0.5,
                     flex: 1
                 }]
             }]


More information about the Lada-commits mailing list