2022-01-25 10:50 AM
I'm working on a TouchGFX project for a 1.4" screen. The limited size means I'm taking all the space I can get, so widgets are commonly placed near the edges of the screen.
If I have a swipe-able widget, such as a ScrollWheel, near the edges of the screen, swiping that element away from the edge works fine. However, swiping that element towards the edge is more challenging, and often fails.
Is there a way to increase sensitivity to the swipe event so that triggering the swipe requires less velocity / displacement?
2022-01-26 04:40 AM
You might want to consider overriding the default swipe handler and using the swipe threshold as an absolute requirement for such a small display. It would then be solely based on the number of pixels, and velocity is immaterial. There is another post I made about the swipe threshold being inconsistent. Search on that and it will tell you what to do. It's just a simple override.