css - Change button label color Sencha -


how change color of buttonlabel in sencha? appears black, how change code:

xtype: 'button', ui: 'plain', text:'saved searches', centered:true, iconcls: 'search', iconalign:'center', height:'100%',               width:'18%', left:'29.68%', cls: 'x-iconalign-top', labelcls:"font-size: 100%;" 

i have tried attributes , found solution. set labelcls custom css class have added app.css file.

here class have added app.css:

.customcls {  color:red; font-size: 100%; } 

and in js file set:

labelcls:"customcls" 

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -