Search code examples
sencha-touch-2sencha-architect

Change Button Background Color Sencha Architect


I'm trying to change the button background color on Sencha Architect 2

I tryied use cls, but it don't worked, I named the cls and used it on a css file, this is the simple script:

.btn //this is my cls name { background-color:red; }

Here a screen of the named cls:

enter image description here

Thanks for the help =)


Solution

  • Okay, You can just mention "Background" instead of "Background-color" ( or ) you can change the button color using inline "style" property under config. You just need to select the button --> Go to Config Panel --> Search for style property -> and type "background: red"enter image description here