How to change background color for Cascade Button in Windows 10

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
Search

Post Reply
4 posts • Page 1 of 1
kairat_abilev
Posts: 7
Joined: Tue Jun 27, 2017 9:48 am

How to change background color for Cascade Button in Windows 10

Post by kairat_abilev » Mon Nov 11, 2019 3:17 am

Hello!

How to change background color for Cascade Button in Windows 10? In windows 7 for this feature to work I need to disable "Use visual styles on windows and buttons" setting in System performance settings. But in Windows 10 there is no such setting, so I cannot make this button dark color with white text. Our customer wants dark color screens for video wall.

Please help me.

Thank you in advance!

Best regards.

User avatar
leoknipp
Posts: 1985
Joined: Tue Aug 24, 2010 5:28 pm

Re: How to change background color for Cascade Button in Windows 10

Post by leoknipp » Mon Nov 11, 2019 8:21 am

Maybe the problem is related to the Windows Theme you are using.

In the WinCC OA Documentation you can find the following information:
Windows Theme Influence on Buttons

Due to the influence of the Windows style settings for current Windows themes the background color of buttons is not displayed correctly as it is overwritten by Windows. To prevent this issue either a different UI style can be selected by using the -style parameter or the background color can be set using Style Sheets.

Best Regards
Leopold Knipp
Senior Support Specialist

kairat_abilev
Posts: 7
Joined: Tue Jun 27, 2017 9:48 am

Re: How to change background color for Cascade Button in Windows 10

Post by kairat_abilev » Mon Nov 11, 2019 10:53 am

Dear Leopold,

Can you please explain how to make the changes to buttons colors in WinCC OA in Windows 10? May be you can drop me a css line and kindly explain where to save that css.

Thank you in advance!

Best regards

kairat_abilev
Posts: 7
Joined: Tue Jun 27, 2017 9:48 am

Re: How to change background color for Cascade Button in Windows 10

Post by kairat_abilev » Mon Nov 11, 2019 12:00 pm

Thank you, I managed to make the color change for Cascade button using style sheet and the name of the button.

Content of config/stylesheet.css

#CASCADE_BUTTON1 { background-color: red }

Then the changes to the background color in cascade button settings changes the color of the button!

Thank you very much!

Post Reply
4 posts • Page 1 of 1