Hello. I was curious if it is possible to change the color of a single slider in the MultiSliderView.
I didn’t find anything in the docs whatsoever.
I’ll add some example code to clarify what i mean / to better help me:
Thank you very much!
(
n=20;
w = Window.new.front;
m = MultiSliderView(w,Rect(10,10,n*13+2,100)); //default thumbWidth is 13
m.value=Array.fill(n, {|v| v*0.05}); // size is set automatically when you set the value
m.action = {|q|
//this shouldnt set all the colors to red, only the previously pressed.
q.colors_(Color.red,Color.red);
};
)