Uniform Grid Panel having incorrect spacing for dynamically created slots.

Hello, I am creating a inventory system that uses a grid slot to show items. The issue is that the grid panel automatically spaces the child slots out to fill the whole grid panel instead of following the padding I set up. I tried without the canvas panel to see if it was a resizing issue, and it is not. The blueprint creates slots based on combined increments (combining the two indeces causes problems) to set the row and column dynamically. I’m still pretty new to widgets, so any help is appreciated.