问题
I have implemented a slider and want to have different colors on both sides of the slider thumb !
I have been trying a couple of code, but haven't landed on a nice solution. The idea is like the picture below :
Thanks in advance !
回答1:
To make a draggable slider with a look like a progress bar refer to
Hybrid of slider with progress bar JavaFX.
To style the progress bar refer to
How can I style the ProgressBar component in JavaFX
To change the thumb image refer to
JAVAFX 2.0 How can i change the slider icon in a slider to an image?
来源:https://stackoverflow.com/questions/22304300/implementing-css-on-javafx-slider