Scrolling frame AutomaticCanvasSize cutting off descendants

I have a pretty simple issue where my scrolling frames don’t properly scale their canvas size to allow for their descendants to be fully shown.

Here’s the properties of my scrolling frame:

Here’s what the hierarchy looks like:
image
The UIPadding and UIListLayout both have very small values for their padding, but finicking with them doesn’t seem to fix anything unless I put the UIPadding bottom value high, but that doesn’t stay consistent if things are added or removed from the scrolling frame.

And here’s how it looks in game:

image

The last item is always cut off, in all of my scrolling frames. I’ve done tons of finicking with the properties but can’t seem to find anything that fixes this.

Is this a bug or am I doing something wrong?

Ah yes, the problem here is actually really simple. I’ve only just discovered the reason for this too. Basically when you use UIPadding and set a value on the “TopPadding” the padding becomes inconsistent. So just put 0 and if you want it to have an index at the top, just size the frame a little bit off of it.

Even after completely deleting the UIPadding the problem is still there. Removing the padding in the UIListLayout also doesn’t fix it:

image

1 Like

i still have this problem in 2025 and idk how to fix it cuts off my textlabels very annoying (i can confirm its not related to UIPadding im using UIListLayout there)

ok nvm it was happening because i was using Scale Padding inside of UIListLayout

problem fixes itself when i switch to offset padding

1 Like

Offset fixes it for that particular screen size, but issues arise on mobile and console when people are using different resolutions. There still isn’t a perfect solution as far as I’m aware :frowning:

1 Like

to get correct offset you can do some calculations with workspace.CurrentCamera.ViewportSize (but i have no idea how to do that so i can’t provide code for it) (viewportsize is screen size btw)

then set the correct offset to uilistlayout and it should technicially be ok on mobile and console