Scrolling frames bug

Hello guyss!

Today, I was doing a scrolling frame for my game that players can scroll and select any card there, but, at mobile, the cards size gets bigger, and I used the AutoScale lite plugin.

Pc/laptop:

Mobile:

Do there’s a way to fix that?

If I’m looking at it correctly, the mobile view frame seems to be a bit smaller. If the desktop view is your intended preference, I’d apply a UIAspectRatioConstraint to the frame so that it maintains the same ratio. Hopefully that prevents it from clipping and cutting off the cards!

I think it’s also worth making sure that the items inside of your ScrollingFrame are in scale rather than offset. I don’t think the cards are getting bigger on mobile, I think they’re staying the same size which makes it look weird since they’re on a smaller screen.

I tried applying a UIAspectRatioConstraint, Still nothing.

just really make sure everything is using scale here.
if you could, could you send the properties of the card? (size specifically)

i mean everything here reflects the problems of using offset. on smaller resolutions, everything gets bigger! :thinking:

Try make the scrollingframe thickness to 0. Thickness doesn’t scale,

but I notice that may not be the problem.

Sorry by the late reply, {0, 200},{0, 275}

o yeah. your frames are using offset (pixels)

the frames will become bigger on smaller resolutions (such as a mobile phone)

i don’t use autoscale lite but you should apply whatever changes it to scale on those frames.

I use auto scale to every Ui I did, as you can see in the images I put, the Label text are sized correctly, and he uses offset, auto scale probably does something that auto scales every frame you use it without changing the scale.

You need to set the Frames and icons to scale instead of offset from the plugin. Alternatively, you could try adding a scale constraint to limit them from being too big, I think.

Use a UIAspectRatioConstraint, use Scale instead of Offset and you’re good to go

1 Like

Thanks, I guess the auto scale plugin are bugged or something and it’s not scaling correctly.