jonhull / GradientSlider

MIT License
242 stars 29 forks source link

Screenshot #1

Open jonhull opened 9 years ago

jonhull commented 9 years ago
screen shot 2015-08-07 at 4 15 38 am screen shot 2015-08-07 at 4 16 27 am screen shot 2015-08-07 at 4 17 20 am
jonhull commented 9 years ago
screen shot 2015-08-07 at 4 25 14 am
jonhull commented 9 years ago
screen shot 2015-08-07 at 4 29 49 am
cancem123 commented 8 years ago

Is it possible to start from red and while increasing goes to yellow then to orange and then to green like the image below and keep the right side grey until it fill?

http://1.1m.yt/fv4qt8E.png

http://1.1m.yt/kFLthDL.png

jonhull commented 8 years ago

Not with the current code, but you could achieve this relatively easily by adding another layer for the grey track and updating it's position as the thumb gets repositioned.

What is your use case? I will consider adding this feature in a later version...

cancem123 commented 8 years ago

@jonhull I didn't solve it yet but I wish you can add it so I can use it while mine it doesn't looks good.