# How to make UI which will be looks ok on any screen ratio?

**URL:** <https://forums.unrealengine.com/t/how-to-make-ui-which-will-be-looks-ok-on-any-screen-ratio/470215>\
**Category:** Cinematics & Media\
**Tags:** screen-resolution, unreal-engine, question\
**Created:** [August 23, 2020, 8:35pm UTC](https://forums.unrealengine.com/t/how-to-make-ui-which-will-be-looks-ok-on-any-screen-ratio/470215 "2020-08-23T20:35:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KAT\_Editor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KAT\_Editor](https://forums.unrealengine.com/u/KAT_Editor)\
**Post date:** [August 23, 2020, 8:35pm UTC](https://forums.unrealengine.com/t/how-to-make-ui-which-will-be-looks-ok-on-any-screen-ratio/470215/1 "2020-08-23T20:35:48Z")

</div>

Hello, looks like most players have 16:9 or 16:10, but lets be nice with players who have 4:3 or something like this, specially because my first game “LOOKS LIKE PHONE GAME!1!!!1!!1”, and does not require NASA PC

 ![311109-ui.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/4/6a4cf60d34bd93b99fdb3747c6202e8f09badb07.jpeg)

I saw tutorial where guy recommends to add Scale Box and Size Box, but with this players with 4:3 screen just get black lines. What do you do in this situation? 🙂

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 24, 2020, 7:40am UTC](https://forums.unrealengine.com/t/how-to-make-ui-which-will-be-looks-ok-on-any-screen-ratio/470215/2 "2020-08-24T07:40:13Z")

</div>

This guy explains how to fix your ascpect ratio:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/d/1/ed19a3e097e60fefa863597bee76e6cf6529f41d.jpeg "UE4 UMG Locking aspect ratio") ](https://www.youtube.com/watch?v=Ljek3wkaMkU)

---

<div class="post-metadata">

**Author:** ![KAT\_Editor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KAT\_Editor](https://forums.unrealengine.com/u/KAT_Editor)\
**Post date:** [August 24, 2020, 10:36am UTC](https://forums.unrealengine.com/t/how-to-make-ui-which-will-be-looks-ok-on-any-screen-ratio/470215/3 "2020-08-24T10:36:17Z")

</div>

But he using Scale Box and Size Box … wait, this dont make black lines? Another problem in camera position, because this game is a puzzle with camera on top, can I just somehow compress or stretch image based on 16:9?

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [March 16, 2024, 4:29pm UTC](https://forums.unrealengine.com/t/how-to-make-ui-which-will-be-looks-ok-on-any-screen-ratio/470215/4 "2024-03-16T16:29:25Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
