Buttons in a CIwUIScrollableView - how to adjust threshold

Home / Forums / Marmalade Archive / IwUI and IwNUI / Buttons in a CIwUIScrollableView - how to adjust threshold
by: Danny Chapman
Status: Offline
Joined: 2011-11-03
Points: 2630

I have a number of places in my UI where I create a list of buttons in a CIwUIScrollableView. IwUI makes it so that if you press on a button and hold, so longs as don't change the touch point by more than a certain number of pixels it stays registering as a button down event, and the button event triggers when you release.

If you move more than that threshold then the scrolling kicks in.

How can I change this threshold? It seems to be a fixed number of pixels, which means that users with high resolution devices find it really difficult to press the buttons without triggering a scroll instead.

Thanks - Danny

Latest Posts

Latest Comments

Top Contributors

  • Chris D : 27,010
  • MonRoyals : 26,970
  • Salman : 26,720
  • Jez Hammond : 20,130
  • pjan : 11,150
  • gjw : 10,350
  • Paolo Oliverio : 9,640
  • Beaker_2 : 8,390
  • Kite : 8,210
  • bluescrn : 7,810