Rule to change MDI Button

More
4 years 5 months ago #242409 by davidimurray
Hi All

Developing my own lathe screen set and wondering if i'm doing something stupid.

Have the following in Style.qss
MDIButton [style='active']{
  color:green;
}
MDIButton [style='nactive']{
  color: rgb(255, 255, 255);
}

And the rule is as per the attached image but it doesn;t work. I;ve done similar for text elsewhere but I can;t get the button color to change.

Any help gratefully received

Please Log in to join the conversation.

More
4 years 4 months ago #244297 by KCJ
Replied by KCJ on topic Rule to change MDI Button
Your rules and QSS look correct.
I wonder if your custom style is getting overridden by another style sheet..

Maybe try making the item selector more specific

#widget_name [style='nactive']{
color: rgb(255, 255, 255);
}

Cheers,
Kurt

Please Log in to join the conversation.

Time to create page: 0.084 seconds
Powered by Kunena Forum