Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: vexe on October 22, 2013, 09:20:26 AM
-
Hi, I wonder how I could resize a window in NGUI. Like, in Windows for example, if you place the mouse on the borders of a window, you could mess with its dimensions, resize it, etc. NGUI allows you do this easily in the editor while you're creating your widgets, but I want to do this in-game.
Any ideas?
Thanks.
-
Same way NGUI lets you resize a widget in the editor. It's just math.
-
Yes, thanks but how? :D
Is NGUI resizing-in-the-editor code available to us somewhere? like in the interals folder, or...?
-
UIWidgetInspector.cs has all the code for you to examine