Setting color of a single slider in a MultiSliderView

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);
};
)

Hello, I don’t think this is possible.

However, if this is a feature you really need, I could provide you a custom MultiSlider class.

1 Like

Bonjour @Dindoleon !

It would be a great addition to be able to define different colors for single sliders in multisliders for SC interface design!

1 Like

Hello, thank you for your response!
Okay that’s good to know.
Well i mean i would appreciate it, but its not super important. it would enhance the visibility in the Gui I’m working on.