SwingX: fixed striping background highlighting color (e.g. alternating table rows) in dark themes

Table: made grid lines slightly darker/lighter
This commit is contained in:
Karl Tauber
2020-12-07 12:28:31 +01:00
parent a1c7c29113
commit 81c35eab46
8 changed files with 33 additions and 4 deletions

View File

@@ -995,7 +995,7 @@ Table.focusCellHighlightBorder [lazy] 2,3,2,3 false com.formdev.flatlaf.ui.F
Table.focusSelectedCellHighlightBorder [lazy] 2,3,2,3 false com.formdev.flatlaf.ui.FlatTableCellBorder$Selected [UI] lineColor=#000000 javax.swing.plaf.ColorUIResource [UI] lineThickness=1.000000
Table.font [active] $defaultFont [UI]
Table.foreground #bbbbbb javax.swing.plaf.ColorUIResource [UI]
Table.gridColor #4c5152 javax.swing.plaf.ColorUIResource [UI]
Table.gridColor #515657 javax.swing.plaf.ColorUIResource [UI]
Table.intercellSpacing 0,0 javax.swing.plaf.DimensionUIResource [UI]
Table.rowHeight 20
Table.scrollPaneBorder [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatBorder [UI]
@@ -1273,6 +1273,11 @@ Tree.wideSelection true
TreeUI com.formdev.flatlaf.ui.FlatTreeUI
#---- UIColorHighlighter ----
UIColorHighlighter.stripingBackground #515657 javax.swing.plaf.ColorUIResource [UI]
#---- Viewport ----
Viewport.background #3c3f41 javax.swing.plaf.ColorUIResource [UI]

View File

@@ -1000,7 +1000,7 @@ Table.focusCellHighlightBorder [lazy] 2,3,2,3 false com.formdev.flatlaf.ui.F
Table.focusSelectedCellHighlightBorder [lazy] 2,3,2,3 false com.formdev.flatlaf.ui.FlatTableCellBorder$Selected [UI] lineColor=#000000 javax.swing.plaf.ColorUIResource [UI] lineThickness=1.000000
Table.font [active] $defaultFont [UI]
Table.foreground #000000 javax.swing.plaf.ColorUIResource [UI]
Table.gridColor #f7f7f7 javax.swing.plaf.ColorUIResource [UI]
Table.gridColor #f2f2f2 javax.swing.plaf.ColorUIResource [UI]
Table.intercellSpacing 0,0 javax.swing.plaf.DimensionUIResource [UI]
Table.rowHeight 20
Table.scrollPaneBorder [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatBorder [UI]
@@ -1278,6 +1278,11 @@ Tree.wideSelection true
TreeUI com.formdev.flatlaf.ui.FlatTreeUI
#---- UIColorHighlighter ----
UIColorHighlighter.stripingBackground #f2f2f2 javax.swing.plaf.ColorUIResource [UI]
#---- Viewport ----
Viewport.background #f2f2f2 javax.swing.plaf.ColorUIResource [UI]