How can I keep the buttons size windowed?

As in this video when I scale the window the text buttons size scales really small while the image label stays the same since its scale type is fit. How can I do the same for the buttons?

Try using a UIAspectRatio.

I personally use this plugin to handle AspectRatios

Basically select the button and press on Add Constraint
image