1
NGUI 3 Support / Re: Scroll View With Swipes
« on: March 07, 2014, 11:14:55 AM »Instead we decided to use nested scroll views, with the root scroll view being horizontal with a center on child script and a grid for the columns. Inside each column is a vertical scroll view, then based on the gesture we lock out the respective scroll views (so that the right scroll view receives the right gesture). This took quite a bit of extension code (and a lot of tweaking) but feels really great for the project.
Hi mvi,
This is exactly what I'm trying to achieve - I'd really love to hear more about how you managed to get it working! You mention 'locking out the respective scroll views' - what does this entail? Even just a brief outline of your approach would be hugely helpful.
I've managed to get the basic behaviour working by simply adjusting the widget depth based on horizontal/vertical swipes (i.e. if a vertical swipe is detected, the vertical panel is given a higher depth). It works, but tends to jump around and behave strangely when a drag is started before the previous tween is complete.
Thanks!
