For some reason when I add a UIListLayout to my frame filled with image labels and frames, the content is hidden instead of displayed correctly. I was originally adding a UIListLayout via script but I have done it using the explorer in the following video to make it easier to follow:
Does anyone have any idea what I could be doing wrong? It’s a fresh UIListLayout and I haven’t changed the properties of the frame other than size and position.
It may have something to do with the ZIndex of the children. I would increase it to 2 and see if that fixes your issue. I believe it gets weird when it’s already a child of something, though it only happens sometimes.
In my code, I put the UIListLayout in before the UI objects are created and that’s when the issue started for some reason. I also tried having the UIListLayout in the frame before the game starts and that didn’t work either. I set the Z-index to 999 of the UI objects and unfortunately, I am still having the same issue.
I’m not sure how applicable this is as the images display fine before the UIListLayout, but on the Y axis they have a size of 1. ClipDescendants is off.