EXTJS4: how can i set the fieldlabel Width of a xtype:'textfield'
12,895
Changing the labelWidth
is changing the input field's width because you are using anchor: 100%
. Take this out and labelWidth
should do more like you are expecting.
Author by
user2477311
Updated on June 05, 2022Comments
-
user2477311 almost 2 years
I have a xytpe form, and i want so set the width of the fieldLabel and not the width of the label itself.
{ xtype: 'textfield', id: 'iln', name: 'iln', fieldLabel: 'Product-Number-Field-with-body-height', allowBlank: true, anchor: '100%' }
I tried everything...its only changes the textfield, and not the width of the fieldlabel. Any help? THANK YOU!