Forum Discussion
Slider track changing colour as slider moves
You can't fill part of the track, but fortunately this is a visual medium. That means nothing has to do what you want. It only has to look like it does it. Instead of filling part of the track, create an image for the thumb that looks like it is followed by a filled track. Make the slider twice as long as it needs to be, to accommodate the larger thumb. Then at the thumb's initial point, cover the "tail" with something that looks like the background. The tail is then hidden, but as it moves out from under the cover it appears to be filling the track behind the thumb.
In the attached sample, I made the cover a different color, so it is obvious where it is. Hide it, and the tail will appear. Set it to white or background fill, and the tail will disappear.
I also attached the thumb fill image.
Related Content
- 10 months ago
- 12 months ago
- 4 months ago