UMG - Uniform Grid Panel Button size?

Hello everyone !

I’m trying to make a simple menu with a bunch of button and I wanna make a 4x3 grid with non-squared buttons. I have 2 problems with that, shown on the following screenshot : First, my buttons aren’t centered in the canvas but I guess this is easy to fix, and second and most annoying, I’m trying to find a way to choose the size of each of my elements and the space I wanna put between them.

This is what I have :

And this is what I’m trying to archieve (from Act Of Aggression) : All the buttons are centered inside the panel, they have the same size and the same space between them.

124988-gridpanel2.jpg

What is the best way to procede ?
Thanks !

I’ve found the solution ! I just needed to use the “Align Fill” in the Slot properties !

1 Like