UI resizing in game

How do I make UI buttons change size in game?

Illustration:

Suggestion on how to do this? Its hard because when I use rect Transform it doesn’t align properly.

Try changing the scale of the button?