Download

UMG and aspect ratio.

I’ve been making a game in portrait at resolution 1080 x 1920

I’ve been putting some menus togethers and started checked at different resolutuions. It seems scaling works fine when the aspect ratio is 16:9 but if 4:3 is used then the layout breaks.

a631f7423535f75df24517a59ef1aa4663b7d1a2.png

This placeholder menu displays fine at 1080x 1920 or any other 16:9 resolution but if 768 x 1024 or other 4:3 ratio is chosen then this happens.

51b1c94b94132bbd98bca604fd171e93e0aa1d19.png

Can anyone give me some advice on the best way to deal with different resolutions and aspect ratios.

I’ve search the forums and answerhub but haven’t been able to find a clear way to get menus to work across different aspect ratios.

Seem to have found a solution of sorts. If I wrap the canvas in a scale box I get all the menu visible but get thicker borders on the side. Not perfect but workable.

11f4a958658c019611a9cfabff5d76dd2281d476.png