changeset 772:a85069813d43

Fixed messprogramm window layout.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 12 May 2015 16:46:17 +0200
parents dd6925ef6028
children 882a1a13ea96
files app/view/grid/Messmethoden.js app/view/grid/Nuklide.js app/view/window/Messprogramm.js
diffstat 3 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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,
--- 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,
--- 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
                 }]
             }]

http://lada.wald.intevation.org