Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Evgeny on March 10, 2016, 12:49:56 PM
-
I have a panel on which several buttons are vertically located.
Each following button is attached by an anchor to a bottom of previous.
At changes of height of the button, a position have to be recalculated.
But positions of buttons change not instantly, for one update, and as if in animation, i.e. it turns out that buttons as if approach to each other.
How to get rid of this effect that ALL elements were positioned for one update?
https://youtu.be/LV_G4CYSsp4 (https://youtu.be/LV_G4CYSsp4)
(https://youtu.be/LV_G4CYSsp4)
-
Nested anchors like that are not a good idea. You should be either using a grid, or a table instead.
-
The problem unfortunately remained.
I have made through the table, but at change or quantities of lines or width in Label, process of reformatting of the sizes is swept VERY up. And if in Label there is a lot of text, then it borrows to 0,5 seconds or more!
Whether there is opportunity at the beginning to create all content of the table, and then already to show him?
-
Sorry I have a hard time understanding what you wrote there... Borrows 0.5 seconds? Already to show him? Swept very up? No idea what any of that means...