I’m just starting a new thread for image sliders, as opposed to FilmStrip ones. @Gerbo, I’m pinging you with this one. Things look a little better now, but there are still issues as you can see below.
In summary:
- There is still a little jump if you don’t click the centre of the slider thumb. I’ve check with native JUCE sliders and this is the case too. I guess that’s why they use such thin thumbs.
- Because I had to resize the actually slider, mouse events on the very outer extremes of the slider container are not registered with the underlying slider. If I added a mousedown event handler here it would break the functionality of the slider that this widget contains.
- The last thing to try here is adding a custom thumb component, with its own mouse event handler that then pass on the position info to the slider. It’s messy, but I think it might be the only solution.