I’m not sure what category to put this in but, I need help trying to figure out what size each individual box inside of an UIGridLayout should be so that it can correctly fit with the scrolling frames dimensions.
A Visual of what I’m trying to get at is shown below, and although its just an example, I want to know how I can correctly fit four boxes in a row of four and column of two into a 10x5 box.
If you need more information from me, feel free to ask below.
I prefer using Studs instead of Offset, so…
The X should be 0.25, the Y should be 0.5
So it should be {0.25,0},{0.5,0} (or {0.5,0},{0.25,0}, try them both)
First off I recommend horizontally aligning them to the center (in case some pixels are left), then, if those boxes can be rectangles, i recommend you using studs, as @SpongeTheRBXer said. However, if they must be squares I’d check out “UIAspectRatioConstraint”.