Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can I make a script to resize GUI's to fit any computer screen?

Asked by
AyeJude 41
6 years ago

This question has been hurting my brain for the past 2 days, I don't know why my GUI's don\t fit every screen. I really need help on this. I have no clue how to do this. Any help would be appreciated!

0
I recommend just using UIAspectRatioConstraint objects in your GUIs. Much simpler than tweaking values and tons of settings to get matching constraints for different monitors Legoman654 100 — 6y

2 answers

Log in to vote
0
Answered by 6 years ago

when you create the gui always use Scale and never Offset

(SCALE, OFFSET, SCALE, OFFSET)

0
Thanks this worked! AyeJude 41 — 6y
Ad
Log in to vote
0
Answered by 6 years ago

Hi, If you want the GUI in the middle of the screen the position should be: {0.5,-(half of left size)},{0.5,-(half of right size)} Tell me the size of you want exact measurements Hope this helped ;)

0
If this was right please press accept awnser  UltraaaDev 85 — 6y
0
Say that scale is a percentage of the screen from 0 to 1, or give examples that tell what side it'd be on. hiimgoodpack 2009 — 6y

Answer this question