Author Topic: UIScrollBar not animating as part of UIScrollView draggable panel (3.0.8 f7)  (Read 4052 times)

tydygunn

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 20
    • View Profile
Hello, I'm trying to create a draggable panel with the new version of NGUI, and have succeeded with a basic scrolling panel. That all works fine.

The issue I'm having is that when I attach a scroll bar to the scroll view, the scroll bar doesn't animate. I can drag the value of the scroll bar in the inspector, and it'll drag the panel's contents, but the bar itself doesn't animate. The scroll portion also doesn't resize.

I'm using a sliced sprite which is a 256x256 circle for the bars, if that matters. When generated, it looks a little FUBAR'd, but as soon as I hit play it resizes the background to be a bar length and the foreground to be a perfect circle.

tydygunn

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 20
    • View Profile
It all works if I use the "Control - Simple Vertical Scroll Bar" prefab and change the graphics. I was just going to delete my question, but I figure leaving it up here might help someone else later.