PDA

View Full Version : How to set labelWidth of all the field in Ext.form.Panel ?



ajit.mankottil
20 Oct 2013, 6:33 PM
Hi,
How to set labelWidth of all the field in Ext.form.Panel ?

Extjs 3.4. Ext.FormPanel I can set the labelWidth but Ext4.2.1, I am using Ext.form.Panel

Regards,
Alex

evant
20 Oct 2013, 7:11 PM
Use fieldDefaults: http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.form.Panel-cfg-fieldDefaults