sbyrne
01/24/2019, 8:29 PMcell { 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.Ruckus
01/25/2019, 5:19 PMcell {
note {
backgroundColor += Color.RED
}
}
// becomes
.cell .note {
-fx-background-color: rgba(255, 0, 0, 1);
}
cell {
and(selected) {
backgroundColor += Color.RED
}
}
// becomes
.cell:selected {
-fx-background-color: rgba(255, 0, 0, 1);
}
cell {
and(selected) {
note {
backgroundColor += Color.RED
}
}
}
// becomes
.cell:selected .note {
-fx-background-color: rgba(255, 0, 0, 1);
}