tornadofx icon indicating copy to clipboard operation
tornadofx copied to clipboard

Gradiant CssRule

Open Kotlin-GDE opened this issue 4 years ago • 1 comments

hi

how o define gradiant color for controles ??

Kotlin-GDE avatar Jun 05 '20 14:06 Kotlin-GDE

You just use create a JavaFX gradient (i.e. a LinearGradient or a RadialGradient). Could you elaborate on what you're having trouble with?

Here is an example in the TornadoFX tests.

ruckustboom avatar Jun 05 '20 16:06 ruckustboom