Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: ChrisR on September 24, 2013, 05:24:17 AM
-
Hey all,
I'm currently creating a scenario editor for our game. One of the problems I'm encountering is that there's some options that have many different values, such as a list of countries that the designers want to show in a pop-up list. For this to work, I'd need the pop-up list to be scroll-able, otherwise the available options would overflow the current screen size.
I've brainstormed some possible solutions for doing it from art, but they are unwieldy and not very elegant. (Example: Creating a clipped Panel with a sorted UIGrid containing text labels that are clickable and update the value of a given label.)
So I'm left looking at either designing the UI around it, or looking at a code solution. While the former is possible, it's not the most user friendly option in some anticipated cases - such as country select. So my questions are: A) Has anyone found a way to make scrollable pop-up lists? and B) Aren, is this something you have considered adding in the near future?
Thanks in advance for any help!
-
Also, while I am working with this, I just noticed that the collider size is also determined by the generated label's dimensions. This might be something that you want the user to be able to set; as it should probably cover the entire width of the background sprite used when creating the pop-up list.
Edit: Width, not length.
-
There is an add-on package that supports this -- http://www.tasharen.com/forum/index.php?topic=5142.0