Replies: 1 comment
-
Seems that Windows itself does not support window title coloring before Windows 11: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We'd like to set the active and inactive color of the title of the main application window on Windows 10.
https://wiki.eclipse.org/Rich_Client_Platform/Custom_Look_and_Feel states that we should use CSS for styling. With the CSS Spy, the highest in the hierarchy I can look is the main-window (a Shell with class MTrimmedWindow). Changing its background-color does not affect the title bar. However, the Eclipse IDE does color its title bar (effective after restart), and uses different colors for active/inactive state. The colors are different from the theme configured in windows as well.
How can I achieve the same in my application?
We already use CSS styling and I am able to change properties of anything below the main-window.
We are using Eclipse R-4.23-202203080310.
We apply our css theme file using an extension point:
<extension point="org.eclipse.e4.ui.css.swt.theme"> <theme basestylesheeturi="css/override.css" id="asdf" label="%theme.override.label"> </theme> </extension>
Beta Was this translation helpful? Give feedback.
All reactions