PDA

View Full Version : [SOLVED] How to change font size in formPanel?



yagi
28 Jun 2010, 1:51 AM
Hi all... Actually, it is a basic question. But I haven't got any idea about this. Could someone show me the code about how to change the font size in a formPanel? Thanks..

wm003
28 Jun 2010, 4:08 AM
Create an additional class as you desire:


.my-own-form-text .x-form-item-label,
.my-own-form-text .x-form-cb-label {
font-size:15px !important;
}


In your FormPanel config add


defaults: {
itemCls:'my-own-form-text'
},

yagi
28 Jun 2010, 5:17 PM
Hi wm003..

Thanks.., it works.

Thanks a lot.