this is umg widget?
Just wrap it in size and scale boxes.
And do custom widget for single button, each with exposed variable for its int value.
Then after button press update that resulting code in owner BP or in BP_HUD or BP_PlayerController etc. With such widgets ready you can place them all in grid widget, and have neatly spaced.
And if you replied to my first post how you made buttons you would have this solved yesterday.