# \[Portait Mode\]

**URL:** <https://forums.unrealengine.com/t/portait-mode/44193>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [October 9, 2015, 12:37pm UTC](https://forums.unrealengine.com/t/portait-mode/44193 "2015-10-09T12:37:38Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![GRADgr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GRADgr](https://forums.unrealengine.com/u/GRADgr)\
**Post date:** [October 9, 2015, 12:37pm UTC](https://forums.unrealengine.com/t/portait-mode/44193/1 "2015-10-09T12:37:38Z")

</div>

1st of all hi!

-Is ue4 able for proper Portrait mode?

-Can it be set on portait with Constrain Aspect Ratio?

-Can the custom Ratio be seen on EDITOR like it should? ( i know i can pilot cam to view it ) 🙂

-Can you Set something in BP like in CHICKEN GAME , But in Perspective Mode?

-How will the widgets get different size on Portait mode?

-MORE or less will the UE4 be able to set a proper PORTRAIT mode with a CONSTRAIN AR to be used for mobile game in the future??

thnx!!!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_78dc5c1c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_78dc5c1c](https://forums.unrealengine.com/u/anonymous_user_78dc5c1c)\
**Post date:** [October 11, 2015, 5:16am UTC](https://forums.unrealengine.com/t/portait-mode/44193/2 "2015-10-11T05:16:42Z")

</div>

I’d like to know this too

---

<div class="post-metadata">

**Author:** ![gameDNA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gamedna/32/1209504_2.png) [@gameDNA](https://forums.unrealengine.com/u/gameDNA)\
**Post date:** [October 13, 2015, 10:46am UTC](https://forums.unrealengine.com/t/portait-mode/44193/3 "2015-10-13T10:46:53Z")

</div>

Edit -\> Editor Preferences -\>Level Editor -\> Viewports -\> Aspect Ratio Axis Contraint -\> Maintain Y-Axis FOV

It should make fine aspect ratio for portait mode in editor.

---

<div class="post-metadata">

**Author:** ![GRADgr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GRADgr](https://forums.unrealengine.com/u/GRADgr)\
**Post date:** [October 18, 2015, 9:56pm UTC](https://forums.unrealengine.com/t/portait-mode/44193/4 "2015-10-18T21:56:37Z")

</div>

Can this be set on mobiles? Constrain Y axis

---

<div class="post-metadata">

**Author:** ![gameDNA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gamedna/32/1209504_2.png) [@gameDNA](https://forums.unrealengine.com/u/gameDNA)\
**Post date:** [October 20, 2015, 5:20pm UTC](https://forums.unrealengine.com/t/portait-mode/44193/5 "2015-10-20T17:20:10Z")

</div>

Change aspect ratio on main camera actor.

---

<div class="post-metadata">

**Author:** ![GRADgr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GRADgr](https://forums.unrealengine.com/u/GRADgr)\
**Post date:** [January 8, 2016, 1:12pm UTC](https://forums.unrealengine.com/t/portait-mode/44193/6 "2016-01-08T13:12:07Z")

</div>

Cant see any difference when changing it… Also while i was testing the Aspect Ratio (0.5625) of my Player Camera, i saw Black Borders on some test devices. Can you Help?  
I saw you ve done great job on Chassing robers congrats!

---

<div class="post-metadata">

**Author:** ![Oink\_Oink](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Oink\_Oink](https://forums.unrealengine.com/u/Oink_Oink)\
**Post date:** [January 26, 2016, 7:30pm UTC](https://forums.unrealengine.com/t/portait-mode/44193/7 "2016-01-26T19:30:48Z")

</div>

check in your project settings

 ![Capture.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/c/c/cccf972049244aac735d46ff869fd4e0e4c514a9.png)

---

<div class="post-metadata">

**Author:** ![Distul](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Distul](https://forums.unrealengine.com/u/Distul)\
**Post date:** [January 29, 2016, 7:46am UTC](https://forums.unrealengine.com/t/portait-mode/44193/8 "2016-01-29T07:46:41Z")

</div>

You can lock a game into portrait mode and the camera should scale automatically assuming you’re using the right scaling type (eg 16:9 in ortho would be 0.5625 ratio). There will be borders if your orientation isn’t set properly in the settings, as shown in the above screen capture.

Widgets auto-scale but you may have to create the scale yourself for special resolutions. It’s in the settings somewhere, perhaps someone could point you to it. As an example: if you design your widgets as 720x1280 then on a 720x1280 phone the ratio would be 1 on the scale. But on a 1080x1920 it would be 1.5 on the scale (1920 / 1280). Same thing applies when down scaling. That’s what I did – setup custom scales and used a fixed 720x1280 widget size rather than the prefixed iPhone4S, HTC One, and so on.

---

<div class="post-metadata">

**Author:** ![GRADgr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GRADgr](https://forums.unrealengine.com/u/GRADgr)\
**Post date:** [February 3, 2016, 8:15pm UTC](https://forums.unrealengine.com/t/portait-mode/44193/9 "2016-02-03T20:15:51Z")

</div>

So to sum… In need to have ‘landscape’ orientation and not ‘portrait’??? And if I put aspect ratio on 0.5625… I still get black borders can someone plz the settings for this? Am using perspective camera

---

<div class="post-metadata">

**Author:** ![Oink\_Oink](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Oink\_Oink](https://forums.unrealengine.com/u/Oink_Oink)\
**Post date:** [February 4, 2016, 9:35pm UTC](https://forums.unrealengine.com/t/portait-mode/44193/10 "2016-02-04T21:35:18Z")

</div>

oh non, you need portrait in your project settings and a camera with 0.5625 (instead of 1.77XXX)

it can be only your preview that have bad resolution preference  
you can preview your game in a ratio of 480x854

(at the bottom “advanced settings”)  
[https://docs.unrealengine.com/latest/images/Platforms/Mobile/Previewer/T\_Activate\_Mobile\_Preview.jpg](https://docs.unrealengine.com/latest/images/Platforms/Mobile/Previewer/T_Activate_Mobile_Preview.jpg)

---

<div class="post-metadata">

**Author:** ![ZMAJ0369](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZMAJ0369](https://forums.unrealengine.com/u/ZMAJ0369)\
**Post date:** [January 20, 2021, 10:42pm UTC](https://forums.unrealengine.com/t/portait-mode/44193/11 "2021-01-20T22:42:38Z")

</div>

I have the same problem, I tried with landscape on/off and it still shows borders on UE4 mobile simulation

---

<div class="post-metadata">

**Author:** ![GRADgr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GRADgr](https://forums.unrealengine.com/u/GRADgr)\
**Post date:** [January 25, 2021, 5:13am UTC](https://forums.unrealengine.com/t/portait-mode/44193/12 "2021-01-25T05:13:58Z")

</div>

Just up until 4.25 there’s a bug when "Show Launch Screen " is enabled. Disabling it will result in full aspect ratio. 🙂

---

<div class="post-metadata">

**Author:** ![PragmaticSystematic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pragmaticsystematic/32/88709_2.png) [@PragmaticSystematic](https://forums.unrealengine.com/u/PragmaticSystematic)\
**Post date:** [August 1, 2021, 3:08pm UTC](https://forums.unrealengine.com/t/portait-mode/44193/13 "2021-08-01T15:08:44Z")

</div>

Nothing better than when links to the official documentation result in 404’s.

---

<div class="post-metadata">

**Author:** ![Karamel\_UE4](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/karamel_ue4/32/88719_2.png) [@Karamel\_UE4](https://forums.unrealengine.com/u/Karamel_UE4)\
**Post date:** [September 11, 2021, 6:46am UTC](https://forums.unrealengine.com/t/portait-mode/44193/14 "2021-09-11T06:46:50Z")

</div>

--------\> [WTF Is? Camera Aspect Ratio Nodes in Unreal Engine 4 ( UE4 ) - YouTube](https://www.youtube.com/watch?v=CTtnn6lK7yg)

---

<div class="post-metadata">

**Author:** ![PragmaticSystematic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pragmaticsystematic/32/88709_2.png) [@PragmaticSystematic](https://forums.unrealengine.com/u/PragmaticSystematic)\
**Post date:** [September 15, 2021, 12:40pm UTC](https://forums.unrealengine.com/t/portait-mode/44193/15 "2021-09-15T12:40:52Z")

</div>

Thank you for that.
