Skip to content
Permalink
Browse files
8273478: [macos11] JTabbedPane selected and pressed tab is not legible
Reviewed-by: kizune, aivanov, serb
  • Loading branch information
prsadhuk committed Sep 13, 2021
1 parent a73c06d commit 4efcd2006f00a6347987ecdacd6e09d59a0006f4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/java.desktop/macosx/classes/com/apple/laf/AquaLookAndFeel.java
@@ -870,7 +870,7 @@ public Object createValue(UIDefaults defaultsTable) {
//"TabbedPane.selectedTabPadInsets", new InsetsUIResource(0, 0, 1, 0), // Really outsets, this is where we allow for overlap
"TabbedPane.selectedTabPadInsets", new InsetsUIResource(0, 0, 0, 0), // Really outsets, this is where we allow for overlap
"TabbedPane.tabsOverlapBorder", Boolean.TRUE,
"TabbedPane.selectedTabTitlePressedColor", selectedTabTitlePressedColor,
"TabbedPane.selectedTabTitlePressedColor", JRSUIUtils.isMacOSXBigSurOrAbove() ? selectedControlTextColor : selectedTabTitlePressedColor,
"TabbedPane.selectedTabTitleDisabledColor", selectedTabTitleDisabledColor,
"TabbedPane.selectedTabTitleNonFocusColor", selectedTabTitleNonFocusColor,
"TabbedPane.selectedTabTitleNormalColor", JRSUIUtils.isMacOSXBigSurOrAbove() ? selectedControlTextColor : selectedTabTitleNormalColor,

1 comment on commit 4efcd20

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 4efcd20 Sep 13, 2021

Please sign in to comment.