Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

I can't scale my gui's correctly?

I somewhat understand scaling gui's across all devices, except i'm clearly doing it wrong because Its still weird on most mobile devices. Here's what i've done

please note: i don't actually have any scripts

In order to scale Gui's, you need to use UIAspectRatioConstraints, or at least to my understanding. Im using scale, not offset, but its still not scaling correctly.

On computer screens,its scaling perfectly fine, but on mobile devices such as IPad mini, IPhone4S and a lot more devices, the sizes are messed up, and arent fullying covering the screen (this GUI is a loading gui, but I will need to know this for future gui scaling as well)

Gui's

Heres exactly what the gui consists of


StarterGui
	Loading
		Main
			UIAspectRatioConstraint
			Imagelabel
			loading (textlabel)
			version (textlabel)
		Play (Imagebutton)
			UIAspectRatioConstraint
			LocalScript
		ImageLabel
		UIAspectRatioConstraints

If you can help, thank you very much! If you need clarification just comment or message me on discord @Ozzisiya#3532

1 comment

0

You should post in the discord for off topic questions instead of the site.

1 answer

✓ Accepted answer

Try using the Emulator (test section) to see what the borders and size of the type of device or screen type you want to use. I recommend 1980x1080 because it fits with a lot of devices, including computers,consoles,ipads and so on.

2 comments

1

site*

0

lol oops

This discussion is preserved as it was. New answers, comments, and votes are closed.