# UMG Widget: issue with the Width on mobile

**URL:** <https://forums.unrealengine.com/t/umg-widget-issue-with-the-width-on-mobile/89171>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [April 3, 2017, 8:01pm UTC](https://forums.unrealengine.com/t/umg-widget-issue-with-the-width-on-mobile/89171 "2017-04-03T20:01:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trinatis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Trinatis](https://forums.unrealengine.com/u/Trinatis)\
**Post date:** [April 3, 2017, 8:01pm UTC](https://forums.unrealengine.com/t/umg-widget-issue-with-the-width-on-mobile/89171/1 "2017-04-03T20:01:28Z")

</div>

So i have been scouring the web to find the info needed to figure out a problem i am currently having with UMG. As seen below in the images i cannot get the width of the game to correctly scale to the UMG Widget. I also tried using UnrealMatch3 DPI scaling as a reference point with no avail. Any links or leads in the correct direction would be extremely helpful.

[http://i958.photobucket.com/albums/ae67/trinata/Screenshot\_1.png](http://s958.photobucket.com/user/trinata/media/Screenshot_1.png.html)  
[http://i958.photobucket.com/albums/ae67/trinata/Screenshot\_2.png](http://s958.photobucket.com/user/trinata/media/Screenshot_2.png.html)

---

<div class="post-metadata">

**Author:** ![NickDarnell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NickDarnell](https://forums.unrealengine.com/u/NickDarnell)\
**Post date:** [April 3, 2017, 8:57pm UTC](https://forums.unrealengine.com/t/umg-widget-issue-with-the-width-on-mobile/89171/2 "2017-04-03T20:57:12Z")

</div>

Doesn’t work that way. The game does not care what size you set the preview to in the UMG designer. The game window is going to be whatever resolution the game is running it. If you want it sized like a mobile game, you’ll need to set the defaults to have the aspect ratio of a mobile game.

Additionally - if you want a widget to take up the entire area of a canvas, you’ll need to use the anchors. Raw offsets and sizes don’t handle aspect ratio changes.

---

<div class="post-metadata">

**Author:** ![Trinatis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Trinatis](https://forums.unrealengine.com/u/Trinatis)\
**Post date:** [April 3, 2017, 9:12pm UTC](https://forums.unrealengine.com/t/umg-widget-issue-with-the-width-on-mobile/89171/3 "2017-04-03T21:12:43Z")

</div>

Thank you Nick Darnell, that was the info is what i needed and wanted to hear, now i can focus on the problem.
