Same enemies per row across all mobile resolutions

Hi,
I’m developing a game with target resolution 480x800.

My enemies have width 30px, and i want to position 16 enemies per row (16*30 = 480px).

But when I set resolution to 320x280 my enemies not fill the whole with of the screen.

I have tried to scale the enemies parent container according different aspect ration and works, but i don’t know if this is the best way to solve the issue.

Is there another best way to solve it?

Hi, I think the Canvas Scaler is meant to handle that.

https://docs.unity3d.com/Manual/script-CanvasScaler.html