View Single Post
11/08/15, 03:55 PM   #4
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
Originally Posted by circonian View Post
I'm guessing I must be missing something, but since your not inheriting, there is a lot of stuff missing isn't there?
Yes, it's only purpose so far has been clipping the tab labels so they don't overflow out of the window if you open too many. Scrolling behaviour is what I've been struggling with this weekend. It appears that making a container with resizeToFitDescendents="true" the only child of the scroll, and putting everything in the container is the way to go. E.g. ANIMATION_SCROLL then works on the scroll control.

SetScrollBounding is still a mystery to me, but luckily scrolling works without touching that

Originally Posted by circonian View Post
As Wandamey said, I would look at zo_horizontalscrolllist.lua & the clothier crafting station code: smithingcreation_shared.xml & smithing_common.xml.
ZO_HorizontalScrollList is of no use here. It's written for a fixed number of items of equal width.
  Reply With Quote