Button changes size when hovered over

I made an ability screen and can’t use it properly, because the button changes its size when I hover over it. Its scales to the anchor point if nothing else is parented to the box the button is parented to. If I parent the text and the button to the same box, the button will scale to the text when hovered over.
It would be really nice if it just stayed the same size!

Probably you checked “Size to content” on the button. And the image you used for hovered is smaller.

image

3 Likes