Welcome,
Guest
. Please
login
or
register
.
May 05, 2026, 07:21:46 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
GUI not scaling based based on screen size (looks very small on larger screens)
« previous
next »
Print
Pages: [
1
]
Author
Topic: GUI not scaling based based on screen size (looks very small on larger screens) (Read 4543 times)
1337GameDev
Newbie
Thank You
-Given: 1
-Receive: 0
Posts: 13
GUI not scaling based based on screen size (looks very small on larger screens)
«
on:
July 02, 2015, 03:13:57 PM »
In the editor, I am designing my UI, and it doesn't seem to scale when I have "Maximize on play" selected, and fear it won't scale on my target device sizes then too.
The Scaling Style is set to Flexible and I have set up anchors...
What do I have to do to have things scale?
Does it matter if I have subpanels under the main panel for my UI?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: GUI not scaling based based on screen size (looks very small on larger screens)
«
Reply #1 on:
July 02, 2015, 09:05:23 PM »
Flexible = whatever the size of your game window is what will be used.
If you want it to scale, use Constrained.
Logged
1337GameDev
Newbie
Thank You
-Given: 1
-Receive: 0
Posts: 13
Re: GUI not scaling based based on screen size (looks very small on larger screens)
«
Reply #2 on:
July 03, 2015, 12:20:05 PM »
I tried that, and it seems to scale the entire UI as one unit, so on desktop, if you change the width, the entire ui scales smaller (including elements that are supposed to be anchored to the top of the screen).
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: GUI not scaling based based on screen size (looks very small on larger screens)
«
Reply #3 on:
July 06, 2015, 07:50:33 PM »
Constrained = fixed size. If something was 1/3rd of the screen at 1080p, it will still be 1/3rd of the screen at 360p. Width doesn't affect it unless you change what it's constrained by.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
GUI not scaling based based on screen size (looks very small on larger screens)