[Lada-commits] [PATCH 1 of 7] 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
Wald Commits
scm-commit at wald.intevation.org
Mon Mar 16 12:26:51 CET 2015
# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1426500730 -3600
# Node ID 19d81c9aa97f1f969f4beb711a406554d176f107
# Parent dfc07fa0ceb1fb5bc261f1883a5363e57f77d7fc
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
diff -r dfc07fa0ceb1 -r 19d81c9aa97f app/view/form/Probe.js
--- 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,
}]
}]
}]
More information about the Lada-commits
mailing list