GUI position & size for all devices? (and does UICorner affect position & size) [Solved]

I currently have a RainGui which allows you to control rain locally on your device (client), and my scripts work well, but my GUI position isn’t working well.

It looks like this now, with a specific studio setup and window size, but on bigger screens or even just when I shrink the windows in studio, it looks weird.

Correct:
image

Incorrect (HD 1080 in physical size):

Ok, using plugins I was able to correct the buttons being out of place, but the GUI is still very much to the left in screens that are too big.

1 Like

are you using UIOffSet (0, 200, 0, 200 for example)?

I am not sure what you mean. This isn’t a proximity prompt, ProximityPrompt.UIOffset

No, I do not have an offset (I am working on one as I am typing this though, I will update if I fix it)

no no no no i mean the udim2 property on “Position” (and/or “Size”) on the frames, textlabels, buttons, whatever
i meant that you should try to use the UIScale (first and third number) instead of the UIOffset (second and fourth) values

p.s., you should try to change the frames/textlabels’ anchorpoint to .5,.5 so you can set their position to {.5, 0} {.5, 0}

Nevermind the tutorial works, just use Scale instead of offset for both the position and size. Anyways, will round corners affect the position & size?

tutorial link (that works) Roblox Studio | UI Scaling Tutorial [How to Fit a UI on the Screen on any Device] - YouTube

uhhhhhhhhhh idk wdym by “round corners”
do you mean the instance UICorner or whatever thingamajig i dont even know
edit: if u meant UICorner then it only bars you from making those ui outlines (doesnt affect position and size)

1 Like