UI scaling gone wrong

I’ve been trying to set scaling settings to adjust UI to screen size (canvas scaler > Scale with screen size, and tried with both Shrink and Match Width or Height). But it doesn’t work in desirable way.
That’s how it should look like no matter what resolution, and how it actually look like after changing resolution:

Buttons are getting too large or too small and the font size of text isn’t changing at all. Can someone please help me?

Do you saw this tutorial?