Author Topic: Focusing a UIDraggale Panel on Active Object  (Read 2311 times)

TeddyDief

  • Guest
Focusing a UIDraggale Panel on Active Object
« on: October 09, 2012, 06:28:24 PM »
Hi all!
I've made a UI that features a long vertical list of shop items, and each item can be clicked to expand a description below it. Since the description Tweens downward from the bottom of its item, sometimes it expands offscreen (below the lower bounds of the camera). I would like to reposition the UIDraggablePanel so that if the item clicked is at the bottom of the screen, the panel automatically scrolls to keep the expanding description onscreen.

Has anyone dealt with this before?

Thank you!
Teddy

TeddyDief

  • Guest
Re: Focusing a UIDraggale Panel on Active Object
« Reply #1 on: October 09, 2012, 06:36:52 PM »
Hey guys. Sorry, I should have RTFM. I found Aren's great vid on this!
http://www.youtube.com/watch?v=GZy-uPm42T8