Author Topic: Is it possible to put a scrollview inside another one?  (Read 3087 times)

khoatic

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Is it possible to put a scrollview inside another one?
« on: June 05, 2015, 09:43:50 PM »
So I'm looking to have a list of categories and each category has several items in it.  For instance say Id have some category scrollview that contains saw 5 different categories.  Each category Scrollview is side by side so when I drag left or right the the next category appears.  Also when I have a category in view I can drag up and down to see more of that particular category.  Any advice or insight is appreciated.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Is it possible to put a scrollview inside another one?
« Reply #1 on: June 07, 2015, 12:48:15 PM »
You can answer your own question just by trying it.

Yes, it's possible. If you want multiple scroll views, for example one draggable vertically and another horizontally, then you will ideally want to have two UIDragScrollView scripts per object -- one referencing one scroll view, another -- the other one.