How to fully fill the horizontal space of a scrolling frame using UIGridLayout

Here is the problem:

I have a Scrolling Frame of size x scale and y scale, and I’m trying to fill this frame on the X axis (Horizontally) with items without leaving blank space at the end, Keep in mind I can solve this on a specific device, But I need it to auto adjust on other devices

Here is a footage of the issue:

Same UI but on mobile:

Based on the previous footage you can notice the empty space at the end, The size of the empty space varies from one screen size to the other. and doesn’t fill up with an item until that empty space X Size equals exactly the X Size of an item.

Any help is appreciated.

1 Like