From dd3ffc64b965b88a66c7bdca7ad3da7e0d157e7e Mon Sep 17 00:00:00 2001 From: Karl Tauber Date: Tue, 7 Dec 2021 18:10:09 +0100 Subject: [PATCH] SwingX: improved dark/light colors "column control" icon for `JXTable` (issue #434) --- .../com/formdev/flatlaf/swingx/FlatDarkLaf.properties | 5 +++++ .../resources/com/formdev/flatlaf/swingx/FlatLaf.properties | 1 - .../com/formdev/flatlaf/swingx/FlatLightLaf.properties | 5 +++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/flatlaf-swingx/src/main/resources/com/formdev/flatlaf/swingx/FlatDarkLaf.properties b/flatlaf-swingx/src/main/resources/com/formdev/flatlaf/swingx/FlatDarkLaf.properties index ca88bfae..c4243b72 100644 --- a/flatlaf-swingx/src/main/resources/com/formdev/flatlaf/swingx/FlatDarkLaf.properties +++ b/flatlaf-swingx/src/main/resources/com/formdev/flatlaf/swingx/FlatDarkLaf.properties @@ -20,6 +20,11 @@ JXBusyLabel.baseColor = #777 JXBusyLabel.highlightColor = #e0e0e0 +#---- ColumnControlButton ---- + +ColumnControlButton.iconColor = shade(@foreground,10%) + + #---- Header ---- JXHeader.background = @background diff --git a/flatlaf-swingx/src/main/resources/com/formdev/flatlaf/swingx/FlatLaf.properties b/flatlaf-swingx/src/main/resources/com/formdev/flatlaf/swingx/FlatLaf.properties index afa37b4b..db7e7186 100644 --- a/flatlaf-swingx/src/main/resources/com/formdev/flatlaf/swingx/FlatLaf.properties +++ b/flatlaf-swingx/src/main/resources/com/formdev/flatlaf/swingx/FlatLaf.properties @@ -28,7 +28,6 @@ TitledPanelUI = com.formdev.flatlaf.swingx.ui.FlatTitledPanelUI #---- ColumnControlButton ---- ColumnControlButton.actionIcon = com.formdev.flatlaf.swingx.icons.FlatColumnControlIcon -ColumnControlButton.iconColor = @disabledForeground #---- DatePicker ---- diff --git a/flatlaf-swingx/src/main/resources/com/formdev/flatlaf/swingx/FlatLightLaf.properties b/flatlaf-swingx/src/main/resources/com/formdev/flatlaf/swingx/FlatLightLaf.properties index 244d3df5..b10ab028 100644 --- a/flatlaf-swingx/src/main/resources/com/formdev/flatlaf/swingx/FlatLightLaf.properties +++ b/flatlaf-swingx/src/main/resources/com/formdev/flatlaf/swingx/FlatLightLaf.properties @@ -20,6 +20,11 @@ JXBusyLabel.baseColor = #c4c4c4 JXBusyLabel.highlightColor = #808080 +#---- ColumnControlButton ---- + +ColumnControlButton.iconColor = tint(@foreground,45%) + + #---- Header ---- JXHeader.background = @background