I need to change text color of my button. I defined a css class like;
.mbutton{
    background:transparent;
    color:red;
    border:none;
}
and button definition is here;
Ext.create('Ext.Button', {
            renderTo: Ext.getBody(),
            text: 'Red text',
            cls:'mbutton'
   });
				
                        
A
buttonis generated withspanelements inside. Thecolorneed to be changed inspaninstead inbutton. Do this way: