Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: lzt120 on August 28, 2014, 02:42:31 AM

Title: Scroll View Auto Arrange widget
Post by: lzt120 on August 28, 2014, 02:42:31 AM
1. How can I use the scroll view and all item inside can be auto arrange base on scroll view's width ?
2. If I need the widget inside the scroll view,  center  alight with scroll view by using UITable, how can it be done or any other way ?
Title: Re: Scroll View Auto Arrange widget
Post by: ArenMook on August 28, 2014, 09:00:55 PM
1. There is no such built-in component in NGUI. You'll need to code it. Knowing the width of the scroll view, reposition the children.

2. Not sure what you mean. Center alight? Center-align I assume, but what does it have to do with a table? If you want to place something in a table, that's fine. If you want it to be centered, set the scroll view's content origin.