[Lada-commits] [PATCH 4 of 5] Fixed Button Positon for Orte Window

Wald Commits scm-commit at wald.intevation.org
Fri May 29 11:01:18 CEST 2015


# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1432885011 -7200
# Node ID 0d6fe69dfa58dcb791817d72374c1c645c96bcb3
# Parent  00072c3c926ea66d882115dd2162514a3080011f
Fixed Button Positon for Orte Window

diff -r 00072c3c926e -r 0d6fe69dfa58 app/view/form/Messprogramm.js
--- a/app/view/form/Messprogramm.js	Fri May 29 09:31:00 2015 +0200
+++ b/app/view/form/Messprogramm.js	Fri May 29 09:36:51 2015 +0200
@@ -100,16 +100,15 @@
                             allowBlank: false,
                             editable: true
                         }, {
-                            xtype: 'textarea', //TODO: we might need a widget which is capable of handling errormsg.
+                            xtype: 'textarea',
                             name: 'probeKommentar',
                             labelAlign: 'top',
                             fieldLabel: i18n.getMsg('probeKommentar'),
                             labelwidth: 135,
                             anchor: '100%'
                         }, {
-                            layout: 'hbox',
+                            layout: 'column',
                             border: 0,
-                            align: 'stretch',
                             items: [{
                                 xtype: 'location',
                                 name: 'ortId',
@@ -117,13 +116,15 @@
                                 labelWidth: 80,
                                 allowBlank: true,
                                 forceSelection: true,
-                                editable: false
+                                editable: false,
+                                columnWidth: '0.75'
                             }, {
                                 xtype: 'button',
                                 name: 'ortIdButton',
                                 margin: '0 0 0 5',
                                 text: i18n.getMsg('messprogrammort.button.title'),
-                                action: 'ort'
+                                action: 'ort',
+                                columnWidth: '0.25'
                             }]
                         }]
                     }, {


More information about the Lada-commits mailing list