Author Topic: How do I restrict the scrollview to just horizontal?  (Read 2922 times)

buffonomics

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
How do I restrict the scrollview to just horizontal?
« on: June 13, 2012, 04:40:35 PM »
I have created a clipped panel scrollview following closely Example 7, Everything works except for one thing....When I swipe, it seems to not be restricted to just Horizontal.

It considers the vertical swipe velocity when moving the grid components around. How do I force it to NOT do this and just only use horizontal swipe?

buffonomics

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: How do I restrict the scrollview to just horizontal?
« Reply #1 on: June 13, 2012, 05:06:39 PM »
Ah found it.  :D
The scale setting in UIDraggablePanel had x,y,z set to 1. I made sure only x was set to 1 and all is well now. :)