I know this may not be related to TornadoFX, but m...
# tornadofx
s
I know this may not be related to TornadoFX, but may be any of you can help me. I have a table with a checkbox in each row, if the check box is not selected a style (
hiddenPrice
) is applied to some cells in that row:
Copy code
hiddenPrice {
    fontStyle = FontPosture.ITALIC
    textFill = Color.GREY
    highlightTextFill = Color.WHITE // Which one is the correct CSS rule?
}
But when the cell is seleced the text color doesn't change to white https://i.gyazo.com/0bc1d88b30ccece739cc2d884fc8c45a.mp4 Does anybody know how to fix this?
I finally solved it with this rules:
Copy code
tableRowCell {
    hiddenPrice {
        fontStyle = FontPosture.ITALIC
        textFill = Color.GREY
    }
}
tableRowCell and focused and filled and selected {
    hiddenPrice {
        textFill = Color.WHITE
    }
}