GUI Positioning issue

Hi, this is probably some stupid issue that I have but when I edit on my studio everything is normal and hidden out of the frame but when I test join on my phone everything clustered up like this.

Thanks, Astraltempus

1 Like

This is common with studio, as you have tabs open so it isn’t to size and perfect scale.

Once in this mode you can still select GUIs and move them around

1 Like

Question, I should use offset instead of scale for positions right?

This is a common issue that most new developers have with making UI’s on Roblox, basically when you insert a GUI, the size positioning is with the “Offset” Property, in order for the ui’s to fit smaller devices, you’ll need to size your ui’s with the “Scale” property

Here is an example of the default properties of a Frame, Image Label, ImageBTN:

Screenshot 2021-08-10 135448

And here is an example of the default Text Label, TextBTN, and Textbox properties:

Screenshot 2021-08-10 135711

You’ll need to set both offset’s to 0 so you have a fluent scaling, remember, make sure you use 0.1, 0.2, so on until 1 because if not, the the gui will fill the part of the screen, and if they are both set to 1 or above, it will fill the entire screen.

after you have made the gui’s the size you want them to be, check the size of them using the device view thingy, and if it fits perfectly like this:

then you should be good to go!

You are also able to scale the ui’s with the “Scale” property as if you were without using the properties tab, you’ll just need to make the scale property have something above 0, and the offsets on 0.

2 Likes

and make sure both of the “scales” are above 0, forgot to add that at the end,

2 Likes

I know this for so long but I was wondering, is there a way to set it default on scale when you add a new gui element. I have a plugin that I can transform from offset to scale and the other way but I want it to be default set to scale

1 Like

Well, it’s pretty simple to change the offset to the scale, you really wouldn’t need a plugin, to be completely honest, a plugin would make it more difficult for the user just to size it correctly, that’s unless if they’re getting a ui gradient or something along those lines.

1 Like

No it is a really good plugin, if it is on offset and you change it to scale it stays the same like you see it on your screen.