ScrollingFrame grows bigger (out of frame) after device view changes

I use the device view to make my UI nice and clean. Since I’m working on a new project, we have a professional UI designer creating images that I need to import in and setup. With that, this creates new ground.

Whenever I turn off the device view, this happens.

I’m using scale for everything. I’ve got a UI grid layout. And I’ve used AutoScale Nightly On it. Would anyone happen to know what’s the issue with it?

Do you mind providing a screenshot of your GUI properties such as size and position?

Based on how it looks, I would try setting your AspectRatio. AutoScale Lite is excellent for this.

I actually use AutoScale Nightly. I tried putting a UI Aspect Ratio Constraint but it doesn’t work on ImageLabels or ImageButtons. I’ll give you them later tonight, as I’m in school rn.

Sounds good, it may be a matter of scale/offset.

I’m using a UIGridLayout with X as Scale, and Y as offset. I think it might have to do with Image Scale Type, as it’s set to fit. Whenever I change the resolution, it seems to expand beyond the image. Unsure though. I’ll put in a frame the same size as the imagelabel and put the UI in (with a 1,1 size as to make it fit) and try to add a UIAspectRatioConstraint. We’ll see what it does.

You can try that.

Do you have the ScrollingFrame parented to the main frame/background? If not, I would try putting the ScrollFrame as a child of the main frame and using scale for X/Y within the frame.

I’m highly sure it is, but I’ll check when I can.

Ok, just let me know when you check so I can assist further.

1 Like

IT IS FIXED!!! https://i.gyazo.com/19107f2e6e2d99a4862a5d687a5a680b.mp4

And life is good again and the world goes on

Note: seems i didnt add a UI AspectRatioConstraint to the mainFrame. :\

Haha, great! If I was of any assistance, I’m glad I could be of assistance lol

1 Like

You were, you sparked many ideas indeed. :slight_smile: