Is it possible to disable a slider? Buttons have an Inactive state, but I don’t see anything similar for sliders.
I thought about setting the minimum to the maximum so it has nowhere to move, but that is giving me a Floating point exception (divide-by-zero) which makes sense as I’m sure it’s dividing by the delta(min, max) to get a percentage.
I suppose that’s one way to do it, but it lacks the knob that makes it look like a slider. Preferably I’d have a grayed out slider that still looks like the normal, active object.
how can be implemented something that instead interact just with clicks and disable drag?
If i want to implement a slider that has steps instead of each value inside a range for example, how i can avoid to drag the slider and just have a “click” interaction on the bar?!
Thanks in advance!
Ciao Gabor, the range is from 60 to 180 in my case, with steps of 30.
Basiacally is a slider that help the user to select a time from 60 seconds to 180, with steps of 30 seconds.