Upper and lower bound in scroll wheel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-22 4:41 AM
In the scroll wheel with selected item, you can drag the last item (the top or bottom item of the whole list) nearly out of the area of the selected (highlighted) item. How can you change how far the last item can be dragged out of that area?
I thought it might be the overshoot percentage but changing the value of that in scroll base initializer list does not change anything.
Example image from "scroll whell and list example": The zero is last item and can be dragged out of the "selected item area". How can you make the value how far the zero can be dragged out of the region, smaller?
- Labels:
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-29 8:16 AM
Hello Pirol,
This is done by the setOvershootPercentage function indeed you're correct, but we noticed a bug few months ago on it as reported on this thread. The status about it is still ongoing.
As a workaround, I can suggest you to use the scroll list instead, the setOvershootPercentage() function seems to work fine with this widget.
/Osman
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-29 11:17 PM
Alright. Thank you for your answer.
