In Studio and in-game, this particular ScrollingFrame does not work:
Here is a gif of what happens when I scroll up or down (there are 5 items in the ScrollingFrame):
Not really sure how to debug this.
In Studio and in-game, this particular ScrollingFrame does not work:
Here is a gif of what happens when I scroll up or down (there are 5 items in the ScrollingFrame):
Not really sure how to debug this.
ScrollingFrame properties:
Note also that the ScrollingFrame is inside of a Folder which is itself inside of a Frame.
I have run into this once or twice making some commissioned GUIs, but its not just ScrollingFrames that have the issue.I have had issues with TextLablels and ImageLabels. Sometimes rewriting the code would fix the problem or deleting everything and starting from base 1. (Deleting the ScrollingFrame, not your entire GUI)
I also noticed Visible isnt true, try changing that but I am sure this is just another studio glitch.
I think the Y Scale setting of your canvas may be the problem and also do you have any UIConstraints that may be setting the sizes of the items that go into the canvas? You may want to have a script get all the absolute sizes of the elements in the Canvas and have it set the Canvas size, after all are added (maybe use the Add and remove events) In fact, I think you could have a script under the scroll frame that changes the canvas size automatically as items are added and removed, so that your scrolling works perfectly. I had to do this to fix an over scrolling issue. In your case its “under” scrolling - no scroll at all. Usually the Canvas size setting and a UI constraint is the culprit.
I appreciate the response. I should’ve mentioned that the only reason Visible
is false in the property menu is because those properties are for the template scrolling frame object while the ones displayed in the first post are copies of that template.
Not sure what you mean when you say “issues with TextLabels and ImageLabels” since this is clearly a specific issue related to scrolling.
Deleting and remaking the ScrollingFrame from scratch didn’t fix it either.
I just don’t understand why this is an issue though since I use ScrollingFrames with UIList+GridLayouts all the time and never have this kind of problem. I did try the scripted canvas resizing you mentioned by using the LayoutUtil module but for some reason each list entry’s size was becoming the negative signed 32 bit integer limit, like so: {0, -2147483647}, {0, -2147483647}
.
Hmm, that’s very odd. Are you using a UIAspectRatioConstraint in a frame, outside the canvas? I would tweak the placement and values of the constraint… This looks like a handy plugin, if it’ll work.