changeset 820:0d6fe69dfa58

Fixed Button Positon for Orte Window
author Dustin Demuth <dustin@intevation.de>
date Fri, 29 May 2015 09:36:51 +0200
parents 00072c3c926e
children 4194f77e7bb1
files app/view/form/Messprogramm.js
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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'
                             }]
                         }]
                     }, {

http://lada.wald.intevation.org