|
Re: How to enable Dark Theme Menus [message #1842522 is a reply to message #1842492] |
Tue, 22 June 2021 04:26   |
Eclipse User |
|
|
|
It turns out to be described here: https://www.eclipse.org/eclipse/news/4.16/platform_isv.php#win-dark-tweaks, e.g:
display.setData("org.eclipse.swt.internal.win32.menuBarForegroundColor", new Color(display, 0xD0, 0xD0, 0xD0));
display.setData("org.eclipse.swt.internal.win32.menuBarBackgroundColor", new Color(display, 0x30, 0x30, 0x30));
display.setData("org.eclipse.swt.internal.win32.menuBarBorderColor", new Color(display, 0x50, 0x50, 0x50));
Try reading through the source code of Display#setData() as it refers the property keys that are currently recognized.
The Combo's still displays a bright background color on the expansion button, although I applied this:
display.setData("org.eclipse.swt.internal.win32.Combo.useDarkTheme", Boolean.TRUE);
|
|
|
|
Powered by
FUDForum. Page generated in 0.51580 seconds