Hello all,
sorry if my title doesn't make too much sense, but basically I have a slider that I want to change colors based on which major tick it is on.
I figure I could make 5 different css files, but that seems a bit much.
I also thought about changing the style inline, but I have to set 3 labels, as well as all of the parts of my slider, so I think that would be annoying to have to do that within the listener I already have setu.
It would be nice if in the stylesheets we could conditional styles.
i.e.,
if(i == 1)
.text
{
-fx-fill: red;
}
If anyone has any better ideas I would appreciate it, or else I'll have to go with the 5 stylesheets(lame but w/e ).
Thanks as always,
~KZ