Welcome,
Guest
. Please
login
or
register
.
April 27, 2026, 05:14:48 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Runtime custom GUI scaling
« previous
next »
Print
Pages: [
1
]
Author
Topic: Runtime custom GUI scaling (Read 5666 times)
Alessaint
Jr. Member
Thank You
-Given: 0
-Receive: 0
Posts: 67
Runtime custom GUI scaling
«
on:
December 03, 2014, 05:00:04 AM »
I want the player to be able to have a certain freedom over how big the GUI is so I'm trying to let him to a certain degree control its scale (by scaling UIRoot from within game options panel). This seems to works well with only exception - drag and and drop feature. As soon as any parent widget gets scaled the drag and drop starts to act funny. So I was wondering whether my way of scaling the whole gui is correct and whether this drag and drop problem is actually a bug or whether I should try adjust the script somehow to compensate for the scale.
Thanks.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Runtime custom GUI scaling
«
Reply #1 on:
December 04, 2014, 03:42:12 AM »
If you're going down that route, then set the UIRoot to be constrained, and let the users adjusts its size instead of scale. Everything should then work as expected and with the same effect.
Logged
Alessaint
Jr. Member
Thank You
-Given: 0
-Receive: 0
Posts: 67
Re: Runtime custom GUI scaling
«
Reply #2 on:
December 04, 2014, 04:26:25 AM »
Great, thanks a lot.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Runtime custom GUI scaling