Author Topic: UIScrollView + ScrollBar strange behaviour  (Read 4574 times)

Alex_A

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 7
  • Unity/NGUI newbie
    • View Profile
UIScrollView + ScrollBar strange behaviour
« on: April 03, 2014, 08:13:26 AM »
Hello.

here GIF-animation.
http://gyazo.com/ada53bae549c6993c3168298fbe898de

When dialog shown first time the behaviour of scrollbar is wrong.
when dialog shown next time, all is ok, as expected.  To show dialogs I use NGUITools.SetActive()
What I'm doing wrong?
Is this a bug?
C++ dev. Now unity3D/NGUI newb  :)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIScrollView + ScrollBar strange behaviour
« Reply #1 on: April 03, 2014, 09:06:33 PM »
Scroll bars have an issue in 3.5.5 that got fixed in 3.5.6, so try it after tomorrow's update.

Alex_A

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 7
  • Unity/NGUI newbie
    • View Profile
Re: UIScrollView + ScrollBar strange behaviour
« Reply #2 on: April 04, 2014, 12:29:36 AM »
Scroll bars have an issue in 3.5.5 that got fixed in 3.5.6, so try it after tomorrow's update.

Just additional info:
I found that  if the dialogue (UIPanel) was not initially deactivated (ALT+SHIFT+A shortcut) at design time,
this bug does not appers. I.e. if a leave dialog active and hide it progrtammatically, UIScrollView + UIScrollBar behaves ok.
C++ dev. Now unity3D/NGUI newb  :)