Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dozer

Pages: [1]
1
NGUI 3 Support / Re: Resize Container to Grid
« on: March 21, 2014, 02:44:31 PM »
Just following up about that example.  Thanks!

2
NGUI 3 Support / Re: Resize Container to Grid
« on: March 19, 2014, 11:27:29 AM »
After some searching, I assume you meant NGUIMath rather than NGUITools.  I tried several different approaches, but nothing is working quite right.  I really need to see an example, because I'm still figuring out the basics of NGUI.  I have to imagine that resizing nested containers to fit dynamic content is a fairly common task.  Is there not a more general approach that doesn't require writing custom scripts?

3
NGUI 3 Support / Resize Container to Grid
« on: March 17, 2014, 11:09:37 PM »
I just got started with NGUI a few days ago, and have run into my first difficulty.  I have a grid of buttons that changes at runtime, and I need the background sprite of the window which contains this grid to dynamically resize.  I can't seem to figure out the hierarchy of components that will handle this.  Is there an example along these lines somewhere?

An example of what I mean:


If I were to add a Button 5, I would need the bottom section, and the overall window, to resize accordingly.

Pages: [1]