# Uniform Grid Panel having incorrect spacing for dynamically created slots.

**URL:** <https://forums.unrealengine.com/t/uniform-grid-panel-having-incorrect-spacing-for-dynamically-created-slots/2699613>\
**Category:** UI\
**Tags:** inventory-system, unreal-engine, Widget, Blueprint, question\
**Created:** [February 13, 2026, 8:00pm UTC](https://forums.unrealengine.com/t/uniform-grid-panel-having-incorrect-spacing-for-dynamically-created-slots/2699613 "2026-02-13T20:00:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Garrbage417](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Garrbage417](https://forums.unrealengine.com/u/Garrbage417)\
**Post date:** [February 13, 2026, 8:00pm UTC](https://forums.unrealengine.com/t/uniform-grid-panel-having-incorrect-spacing-for-dynamically-created-slots/2699613/1 "2026-02-13T20:00:46Z")

</div>

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.

 ![Screenshot 2026-02-13 113228](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/0/5f0fbdccec7dd99f8b5b6f96d3f85e0f4deb67a9.png)

 ![Screenshot 2026-02-13 111634](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/a/9/8a9fab644c9786122e8f6ffa9bcbb9a77831c02a.png)

 ![Screenshot 2026-02-13 111540](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/5/d65d1de63b407f56b61b0744b05a34cb951b082f.jpeg)

 ![Screenshot 2026-02-13 111532](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/7/2/37283c8c331d3354f8418d074ae9f81666ca11cb.jpeg)

---

<div class="post-metadata">

**Author:** ![DragonRelt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dragonrelt/32/1075747_2.png) [@DragonRelt](https://forums.unrealengine.com/u/DragonRelt)\
**Post date:** [February 20, 2026, 10:05pm UTC](https://forums.unrealengine.com/t/uniform-grid-panel-having-incorrect-spacing-for-dynamically-created-slots/2699613/2 "2026-02-20T22:05:23Z")

</div>

Have you wrapped the grid, or did you just place it within the canvas with padding?
