ScrollingFrame Children not scaling correctly with device size

  1. The goal here is to fix this scaling issue where on desktop it appears to scale fine, however on mobile it does not.

  2. The issue is that on desktop it is scaled correctly and works perfect, however on mobile the scrollingframe freaks out and changes the size to whatever it feels like. I am using the correct Udim2 Size/Position so that it scales on all devices but this seems to be a unique scrollingframe issue.

  3. I’ve looked around on the DevForum and asked around but I cant seem to find anything with an exact answer or a helpful one. I’ve also tried experimenting with UiSizeConstraints, CanvasSize, and AutomaticCanvasSize but none of them seem to fix the issue.

You can see the issue below more clearly between desktop and mobile.
image

Use scale instead of offset
Offset = (0, 1, 0, 1)
Scale = (1, 0, 1, 0)

I am already using scale for both the ScrollingFrame, its parent, and the children under it.
image

Never mind, I figured it out. I forgot to set the UIGridLayout to scale and not offset.

2 Likes