If you plan on overriding a property in a number o...
# tornadofx
r
If you plan on overriding a property in a number of places, you can define
Copy code
val bg by cssproperty<MultiValue<Paint>>("-fx-background-color")
Then the the above could be written
Copy code
unsafe(bg, raw("black, -fx-base"))
👍 1