I add a CSS class "note" to only some Labels in a ...
# tornadofx
s
I add a CSS class "note" to only some Labels in a TreeTableCell. CSS
cell { note { backgroundColor += Color.RED } }
works as expected (only coloring those labels).
cell { and(selected) { backgroundColor += Color.RED } }
works as expected (coloring everything in the selected row).
cell { and(selected) { note { backgroundColor += Color.RED } } }
has no effect. I expected it to color only the labels with the "note" class in the selected row.