PDA

View Full Version : Default in Extjs



NitinMishra123
27 Sep 2012, 11:30 PM
Hi to all,
I am pretty new to Extjs.
Is there anyway to change the default font size in Extjs.

I mean how can I make 'fieldLable' appear BOLD?

Thanks in Advance
Nitin

sword-it
28 Sep 2012, 6:18 AM
Hi Nitin,

Use labelStyle config lilke-


{
xtype: 'textfield',
labelStyle:'font-weight:bold; color:blue;',
fieldLabel: 'Name',
}


For more info read API http://docs.sencha.com/ext-js/3-4/#!/api/Ext.Component-cfg-labelStyle

S (http://docs.sencha.com/ext-js/3-4/#!/api/Ext.Component-cfg-labelStyle)ee here working example - http://jsfiddle.net/maneeshgo/NEPWz/1/

NitinMishra123
28 Sep 2012, 6:39 AM
Thanks you so very very much for your reply.

Really worked.
Thanks Once Again