Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Kafar on October 26, 2015, 07:22:47 AM
-
Hi,
I'm working on a vertical toolbar and I need to space the buttons inside to fit the toolbar length.
Can how to do this? With anchors? Can how to set?
Thanks
-Kafar
-
Use "Custom" anchor type with floating point values. For example for left and right anchors, 0 means left side, 1 means right side, 0.5 means center, 0.25 means 25% from the left, etc.
-
Do you means this?
-
Use "Custom" anchor type with floating point values. For example for left and right anchors, 0 means left side, 1 means right side, 0.5 means center, 0.25 means 25% from the left, etc.
Ok, I set that but when I play Unity the anchor return back to set "Unified".
Why?
-
No, not advanced. You see the "Right", "Left", etc? Change them to "Custom".
-
No, not advanced. You see the "Right", "Left", etc? Change them to "Custom".
OK, but please read my previous message, about the back state return.
Thanks
-
State return? If you mean the change to Unified, that's normal. Unified = all 4 sides are bound to the same object.