Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Kamo on May 14, 2014, 01:21:29 PM
-
How can I position e.g. 5 buttons inside a container (e.g. horizontally) so that they are equally apart from each other, so if the container gets wider the gap between buttons gets bigger? Something like setting the scaling style on UIRoot pixel perfect but without the scaling :)
-
I guess the easiest way is to anchor the buttons to the container with the custom (percentage) anchor and setting the appropriate float or is there any other nicer way? :)
-
That's the right way -- relative anchoring.