diff app/view/form/Probe.js @ 623:19d81c9aa97f

anchored all elements, to make them the same size, added a margin of 1px to the frame around the fieldset to prevent the cuttoff on the right side
author Dustin Demuth <dustin@intevation.de>
date Mon, 16 Mar 2015 11:12:10 +0100
parents 8a156a7fbe67
children d945cfeeebeb
line wrap: on
line diff
--- a/app/view/form/Probe.js	Fri Mar 13 16:29:02 2015 +0100
+++ b/app/view/form/Probe.js	Mon Mar 16 11:12:10 2015 +0100
@@ -95,6 +95,7 @@
                         border: 0,
                         width: '50%',
                         minWidth: 300,
+                        margin: '0, 1, 0, 0',
                         items: [{
                             xtype: 'fset',
                             title: 'Erweiterte Angaben',
@@ -105,43 +106,50 @@
                                 editable: false,
                                 name: 'datenbasisId',
                                 fieldLabel: 'Datenbasis',
-                                labelWidth: 100,
+                                anchor: '100%',
+                                labelWidth: 105,
                             }, {
                                 xtype: 'betriebsart',
                                 name: 'baId',
                                 fieldLabel: 'Betriebsart',
-                                labelWidth: 100,
+                                anchor: '100%',
+                                labelWidth: 105,
                             }, {
                                 xtype: 'testdatensatz',
                                 name: 'test',
                                 fieldLabel: 'Testdatensatz',
-                                labelWidth: 100,
+                                anchor: '100%',
+                                labelWidth: 105,
                                 allowBlank: false,
                             }, {
                                 xtype: 'probenart',
                                 editable: false,
                                 name: 'probenartId',
                                 fieldLabel: 'Probenart',
-                                labelWidth: 100,
+                                anchor: '100%',
+                                labelWidth: 105,
                                 allowBlank: false,
                             }, {
                                 xtype: 'numberfield',
                                 allowDecimals: false,
                                 name: 'probeNehmerId',
                                 fieldLabel: 'Probennehmer',
-                                labelWidth: 100,
+                                anchor: '100%',
+                                labelWidth: 105,
                             }, {
                                 xtype: 'netzbetreiber',
                                 name: 'netzbetreiberId',
                                 editable: false,
                                 fieldLabel: 'Netzbetreiber',
-                                labelWidth: 100,
+                                anchor: '100%',
+                                labelWidth: 105,
                                 allowBlank: false,
                             }, {
                                 xtype: 'tfield',
                                 name: 'x11',
                                 fieldLabel: 'Datensatzerzeuger',
-                                labelWidth: 100,
+                                anchor: '100%',
+                                labelWidth: 105,
                             }]
                         }]
                     }]

http://lada.wald.intevation.org