I'm trying to make a changeable ui, but I can't change my custome widget size.

I have two blueprints, one is for the main UI interface, like this:

, another one is the component of it, like this, call it as “main”:

When I run my map, It will be like this, call it as “item”:

I don’t want rectangle “item”, I want square “item”

I want to achieve like that when I change the “main” width, I can change the height of “item” too. Now, when I change the width of “main”, the “item” will follow it, but I can’t get the children “item” to change its size. I’ve try a lot of methods. Anyone can help me ? Thank you very much.

Maybe you could wrap the “main” widget with a size box and then set a desired size?