Generally, do not scale UI elements. You’re going to have a really bad time if you do.
Instead do it with anchoring and the main canvas scaler.
Here are some notes on UI Anchoring, Scaling, CanvasScaler, etc: