How can you scale buttons from center in UMG?

Hi!

I’m currently implementing a menu were I want the buttons to scale accordingly to if its selected or not, And its currently working and is scaling correctly. But I have a big problem with that the buttons scale from top-left even though I’ve changed the anchors to the middle.

Have I missed something obvious? Or is there no way ATM?

I’m quite new too but maybe this can help you. Try clicking on the desired anchor by pressing CTRL (or Alt can’t remember now, not at home) too.

Sadly, this didn’t do it for me. But I fixed it by moving the buttons while scaling, which gave the illusion of even resizing

Out of my mind there is a pivot point option in the umg, that should help you

Use Alignment x= 0.5 y=0.5 in the details of button

2 Likes