commit b6861e0a5cb359bdb07c1034f8849525452f6f3d
parent d8e24d3ef1abfaefd9f302df98204365e13e27f4
Author: Felicitus <felicitus@felicitus.de>
Date: Wed, 22 Sep 2010 05:12:58 +0200
Anchor form elements to the width of the container
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/frontend/js/de.RaumZeitLabor.PartDB2/CategoryEditor/CategoryEditor.js b/frontend/js/de.RaumZeitLabor.PartDB2/CategoryEditor/CategoryEditor.js
@@ -20,6 +20,7 @@ de.RaumZeitLabor.PartDB2.CategoryEditor = Ext.extend(Ext.form.FormPanel, {
selectedClass:'',
fieldLabel: '$[de.RaumZeitLabor.PartDB2.CategoryEditor.parentCategory]',
name: 'parent',
+ anchor: '100%',
lazyInit: false,
onSelect:Ext.emptyFn
});
@@ -108,10 +109,12 @@ de.RaumZeitLabor.PartDB2.CategoryEditor = Ext.extend(Ext.form.FormPanel, {
{
fieldLabel: '$[de.RaumZeitLabor.PartDB2.CategoryEditor.categoryName]',
name: 'name',
+ anchor: '100%',
xtype: 'textfield'
}, {
fieldLabel: '$[de.RaumZeitLabor.PartDB2.CategoryEditor.categoryDescription]',
name: 'description',
+ anchor: '100%',
xtype: 'textarea'
}, this.categoryComboBox
],