Hello all!
We’re continuing to work with DirectSliders; we ran into another issue we’re trying to resolve.
By default, it appears that the DirectSlider operates such that the slider is contained inside the track, like a scrollbar. That is to say, the maximum travel is
[]
------------
[]
------------
This is great for scroll-bar-like behavior (as scroll bars are bounded on either side). But for a slider-like behavior, we really want more of this sort of operation:
\/
---------
\/
---------
That is, the slider should hang off the end of the bar, with one half of it exceeding the bar length.
Another way to say this is that if we were to replace the slider thumb’s default visual representation (a rectangle) with an inverted triangle, then when slider[‘value’]==slider[‘range’][0], the bottom point of the triangle would be aligned with the left edge of the slider. The default behavior is that the top-left point of the triangle is aligned with the left edge of the slider.
We have a partial solution to this problem, which is to set [‘thumb_frameSize’] to (0,0,0,0). This solves the positioning problem, but makes it impossible to actually click on the thumb (since the clickable region is the frame). Is there a way to control the bounding behavior so that we can keep the framesize nonzero but allow the center of the slider thumb to align with the edge of the slider bar?
Thanks,
Mark