Hello. Try this.
Wrap your grid in a size box and adjust its size.
I have been trying to make an inventory. The issue I am having is that when I add the Buttons (created in a separate widget) to the grid panel on my main HUD, the engine scales them way to small in game.