Scaling buttons maintain ratio

Hi All,

I am testing out the new UI system in Unity, but I am having a lot of trouble getting it right. I am trying to make a UI that is in the bottom of the screen and has several square buttons. I want to scale the UI to different screen sizes, but I can’t get it to work. I can get the buttons to scale by adjusting the anchors, but they become rectangles. I have attached a screenshot of the layout.

I have set the canvas to scale with screen size. Does anyone have any advice on how to do this correctly?
What I want in portrait mode:

On a different resolution:

In landscape:

In short I want the letters to remain the same size relative to the width of the screen. On some resolutions this works. I have tried adjusting the anchors, but this warps the button into a rectangle and not a square. I also want the buttons to be visible in landscape, but they do not need to fill the entire width then. Does anyone have some useful tips for me?

I managed to get it to work by changing the Screen Mode Match to expand.