PDA

View Full Version : Slider Fill while dragging.



tomalex0
22 Nov 2011, 1:21 AM
I was just looking to feature in slider to implement a background color when thumb is moved or a value is set. It was not so straight forward but more like wicked way ;) . There may other alternatives but this is what came up in my mind. . I have to add an extra width to get things in a proper way. There are few glitches which i'm still looking into .

Please have a look and let me know if it can be done in a better way :).

You can find source file here https://github.com/tomalex0/SenchaTouch-v1-SliderFill

mitchellsimoens
22 Nov 2011, 11:27 AM
nice dude!

AndreaCammarata
25 Nov 2011, 2:15 AM
Nice ;)
Would be also nice if you provide an options that more is high the selected value, more is bright the slider color.
What do you think?

tomalex0
20 Dec 2011, 5:43 AM
Hi

I have updated slider fill as plugin implementation. Please check out the github.

@andrea

sorry for late reply, i would look into how to implement what you have asked

semiaddict
29 Dec 2011, 3:53 AM
Awesome.
I would love to see this ported to ST2 (pr3).

tomalex0
29 Dec 2011, 5:01 AM
I have tried porting it, looks like plugin implementations are not working . I'm waiting for upcoming releases. New plugin will work with single or multiple thumbs.

semiaddict
29 Dec 2011, 6:20 AM
Could you post a regular override or extend code in the mean time ?

Thank you.