mhalachev commented on PR #7239: URL: https://github.com/apache/netbeans/pull/7239#issuecomment-2047684058
> PS: Just noticed something... the shortcut color in https://github.com/apache/netbeans/pull/7171 also gets black with CDE/Motif and Mac OS X themes: I can confirm that this works as expected and colors appear in editor background like in the Dashboard while using the aforementioned themes: ```diff diff --git a/platform/core.windows/src/org/netbeans/core/windows/view/EditorView.java b/platform/core.windows/src/org/netbeans/core/windows/view/EditorView.java index 40662c1af7..32b59cbf52 100644 --- a/platform/core.windows/src/org/netbeans/core/windows/view/EditorView.java +++ b/platform/core.windows/src/org/netbeans/core/windows/view/EditorView.java @@ -487,6 +487,9 @@ public class EditorView extends ViewElement { Color shortcutColor = UIManager.getColor("EditorTab.underlineColor"); if (shortcutColor != null) { shortcut.setTitleColor(shortcutColor); + } else { + shortcutColor = new Color(0x164B7B); + shortcut.setTitleColor(shortcutColor); } Font font = getFont(); if (font != null) { ``` Result: <img width="310" alt="motif-fixed" src="https://github.com/apache/netbeans/assets/2463597/0812d2c6-d914-419b-a924-c30839c7adde"> @neilcsmith-net Could we get this in here, without another PR? It fixes the same theme-specific color issue... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
