You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "eirikbakke (via GitHub)" <gi...@apache.org> on 2023/04/11 17:40:55 UTC

[GitHub] [netbeans] eirikbakke commented on a diff in pull request #5798: option window: category buttons foreground color fix.

eirikbakke commented on code in PR #5798:
URL: https://github.com/apache/netbeans/pull/5798#discussion_r1163141014


##########
platform/options.api/src/org/netbeans/modules/options/OptionsPanel.java:
##########
@@ -1189,7 +1189,8 @@ void setSelected () {
                     new EmptyBorder (0, 2, 0, 2)
                 ));
             }
-            setBackground (selected);            
+            setBackground(selected);            
+            setForeground(getUIColorOrDefault("MenuItem.selectionForeground", getTabPanelForeground()));

Review Comment:
   Good call.



-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists