Fred Vicentin
Fred Vicentin

Reputation: 977

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 =)

Upvotes: 0

Views: 1939

Answers (2)

GenieWanted
GenieWanted

Reputation: 4513

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

Upvotes: 1

cclerv
cclerv

Reputation: 2969

I think you are missing the !important at the end. So if your cls is btn1, You can do:

.btn1 {
    background-color:red !important
}

Perhaps this could be of some reference:

Upvotes: 1

Related Questions