Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: jeffpk on March 07, 2014, 01:21:38 PM
-
Hi All:
I'm trying to build at run time what is basically the same as a selection grid in a scroll view in OnGUI.
I'm having 2 problems:
(1) The images don't show until I resize the window
(2) Id like the grid to anchor to the left side, currently it float right as I make the window bigger
As an added thing, id really like the grid an its images to scale down as i scale down the window. I want a vertical list but ideally scaled to fit the horizontal dimension
Image attached below.
-
Well, I changed my design to better fit what I could get NGUI to do.
Thats annoying but there you go.
-
Scroll views have an origin point you can set. If you want it to be on the left side, then choose it to be left.
Images not showing up makes me wonder what version of NGUI you have...
-
Thanks, i got it working well enough.
As for version, unfortunately I have made some changes to NGUi internals so upgrading isn't easy right now. In specific, I hacked in a soft cursor because I needed it to make NGUi respond correctly with the Oculus RIFT.