ScrollingFrame AutomaticCanvasSize seemingly not working

I have AutomaticCanvasSize set to Y, but for some reason, it completely stops scrolling after a certain amount of items.

I have tried two different approaches: Items inside a Frame that is inside the ScrollingFrame, and putting the items directly inside the ScrollingFrame. Neither are the desired outcome, as I have 100 items that need to be displayed, and they get nowhere near. I’m just confused why the ScrollingFrame → Frame → Item method doesn’t work, as I’ve used it for inventory UI and it works perfectly fine.

Here is the place file:
Janky ScrollingFrame.rbxl (84.8 KB)

Any and all help is greatly appreciated.

I have never seen this issue before. I believe the issue may be that the script which adds each item stopped sometime before reaching 100. If it does run 100 times without error, adding a new item to the scrollframe each time, then what you can do instead is try using a UIListLayout. Worst case scenario, you can manually set the scrollframe’s CanvasSize. Another possibility would be that the items are overlapping each other, but that doesn’t seem to be the case at all.

1 Like

This is done completely without a script. I manually added and numbered 100 items and noticed it behaving this way. Both methods use a UIListLayout. I am just completely dumbfounded on what could possibly be the issue. For now, I just set the CanvasSize to accommodate 100 items, but it’s extremely unideal because if a player scrolls down and there aren’t 100 entries in the leaderboard, there is just a bunch of empty space. Thank you for your reply!

The problem is you’re using scale for sizing each item. Here’s what it looks like if you use offset instead:

1 Like

Wow, after so much UI work on a screen instead of in the workspace, I completely forgot using offset was even an option. Thank you so much for your help and I hope you have a great rest of your day/night!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.