I have a slight problem with frames in a scrollingframe (using UIListLayout), each using UIGridLayout.
Basically, I want to be able to put as many imagelabels inside each frame and still have an equal gap between the main frames in the scrollingframe. Hopefully this quick sketch explains what I’m trying to accomplish:
This is the current layout:
However, I’ve come across a problem. The UIGridLayout does not actually increase the size of the frame - this means if there are more or less imagelabels so that they either don’t fill or overfill the frame, there will not be an equal gap. Adjusting the padding therefore doesn’t fix it either.
This is shown here: The UIGridLayout carries on adding more frames, esentiall which is what I want but the size is not updated which esentially overflows the frame (That’s intended and makes sense but not the behaviour I want in my case!!)
I would appreciate any potential solutions to this! Thank you in advance