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

How To Remove The Streching From My Frames?

Idk how but my frame is strecing every time the roblox resolution changes

Here Is A Video:
https://vimeo.com/743793505

2 comments

0

I don't see how this is an issue, 99% of people want this feature because players will have different screen sizes - if you want to remove it though use the offset features of UDim2 instead of the scale features: UDim2.new(scale, offset, scale, offset)

0

maybe you need UIAspectRatioConstraint, put one into your frame and change the AspectRatio property as you like

4 answers

✓ Accepted answer

another solution is to stretch the frame's Y axis and vice versa when the resolution changes

It's the guis changing size in order to compensate for the resolution of the window

You need to put these sizes on the frame settings to avoid that [0.1, 0] [0.1, 0] after if you stretch it,it will have 0 offset (Hope that help)

Use offset instead of scale.

Honestly, if it were up to me, I probably would keep this feature, as it allows for compatibility between devices.

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