I have made a simple UI widget consisting of not much more then a vertical box filled with two text components and a Size Box. (Image.1)
I want the Size Box however to be a square. But overriding the width and height does not seem to work.
Padding is set to 0 for the text components and the Size Box.
The Image component has Brush set to “none” and Image Size set to 128 by 128.
I then add the UI_ShopkeeperItem widget inside a Uniform Grid Panel of another UI widget called UI_Shopkeeper with blueprint code.
But ingame (image.2) it just does not stack properly.
The green outline on one of the widget is because the button component turns green upon mouse hover.
How do I get the Size Boxes square?
And then how do I make them automatically space out in a Uniform Grid Panel?
I am using engine version 4.25.