Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: PixelEnvision on June 22, 2012, 06:11:53 AM
-
Hi,
Just noticed that bug(?)...
Alpha value of a UIScroll Bar resets back to 1 IF it's tied to a UIDraggable Panel.
-
Check your panel settings. Scroll bars associated with the draggable panels have their alpha changed automatically by default (depending on what you specify the panel should do). For example, "Only When Needed" setting will fade in the scroll bar only when it's needed, and otherwise keep it at alpha of 0 (invisible).
-
Thx for the info, actually it's also the same on Example 7...
I understand why/how but wouldn't it be better if "always" setting doesn't change it back to 1?
I wanted to make it slightly transparent, currently solved that by using a new set of images that comes with transparency... Of course that takes up atlas space...
-
"Always" means the scroll bar is always visible, ie alpha of 1. Sounds like you should modify the code to get the behavior you want, or just turn off the logic that changes the alpha.
-
I see, thx.
Btw, may I suggest a 4th option "do not modify visibility" ::)