diff app/view/proben/EditForm.js @ 532:91a1a88ee353

some resizing and layout.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 17 Dec 2014 12:08:29 +0100
parents 48593a6181c9
children 0a948bb99b60
line wrap: on
line diff
--- a/app/view/proben/EditForm.js	Wed Dec 17 11:34:43 2014 +0100
+++ b/app/view/proben/EditForm.js	Wed Dec 17 12:08:29 2014 +0100
@@ -67,12 +67,13 @@
                     border: 0,
                     items: [{
                         border: 0,
-                        width: '43%',
+                        width: '47%',
                         minWidth: 290,
                         items: [{
                             xtype: 'mst',
                             name: 'mstId',
                             fieldLabel: 'Messstelle',
+                            labelWidth: 135,
                             allowBlank: false,
                             listeners: {
                                 dirtychange: {
@@ -85,6 +86,7 @@
                             name: 'hauptprobenNr',
                             maxLength: 20,
                             fieldLabel: 'Hauptprobennr.',
+                            labelWidth: 135,
                             listeners: {
                                 dirtychange: {
                                     fn: this.updateOnChange,
@@ -94,7 +96,7 @@
                         }]
                     }, {
                         border: 0,
-                        width: '52%',
+                        width: '50%',
                         minWidth: 300,
                         items: [{
                             xtype: 'fieldset',
@@ -197,7 +199,7 @@
                     items: [{
                         xtype: 'textfield',
                         name: 'media',
-                        labelWidth: 110,
+                        labelWidth: 125,
                         fieldLabel: 'Medienbezeichnung',
                         listeners: {
                             dirtychange: {
@@ -209,7 +211,7 @@
                         xtype: 'textfield',
                         maxLength: 100,
                         name: 'mediaDesk',
-                        labelWidth: 110,
+                        labelWidth: 125,
                         fieldLabel: 'Deskriptoren',
                         listeners: {
                             dirtychange: {
@@ -221,7 +223,7 @@
                         xtype: 'uwb',
                         name: 'umwId',
                         fieldLabel: 'Umweltbereich',
-                        labelWidth: 110,
+                        labelWidth: 125,
                         allowBlank: false,
                         listeners: {
                             dirtychange: {
@@ -253,9 +255,6 @@
                 xtype: 'fieldset',
                 title: 'Zeit',
                 defaultType: 'datetime',
-                defaults: {
-                        labelWidth: 150
-                },
                 layout: {
                     type: 'table',
                     columns: 2
@@ -263,7 +262,7 @@
                 items: [{
                     fieldLabel: 'Probennahme Beginn',
                     margin: '0, 10, 5, 0',
-                    labelWidth: 130,
+                    labelWidth: 125,
                     name: 'probeentnahmeBeginn',
                     listeners: {
                         dirtychange: {
@@ -285,7 +284,7 @@
                 }, {
                     fieldLabel: 'Probennahme Ende',
                     margin: '0, 10, 5, 0',
-                    labelWidth: 130,
+                    labelWidth: 125,
                     name: 'probeentnahmeEnde',
                     listeners: {
                         dirtychange: {

http://lada.wald.intevation.org