# Viewport Size and Screen Resolution Different Issue

**URL:** <https://forums.unrealengine.com/t/viewport-size-and-screen-resolution-different-issue/504187>\
**Category:** Blueprint\
**Tags:** resolution, unreal-engine, question, Blueprint, UE4-27\
**Created:** [March 5, 2022, 2:01am UTC](https://forums.unrealengine.com/t/viewport-size-and-screen-resolution-different-issue/504187 "2022-03-05T02:01:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![WhyUWatchingThis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WhyUWatchingThis](https://forums.unrealengine.com/u/WhyUWatchingThis)\
**Post date:** [March 5, 2022, 2:01am UTC](https://forums.unrealengine.com/t/viewport-size-and-screen-resolution-different-issue/504187/1 "2022-03-05T02:01:45Z")

</div>

Hi,

I’ve been setting up my settings menu using blueprints and noticed that when I set my screen resolution to my desired value the viewport size is different and there are black lines to the side of the game as a result and anyone know why this happens and how I can have my viewport size and screen size match?

Also, I noticed that when I play my game in standalone mode the window does not resize based on my resolution but when I play in the new editor window it does not sure why

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/3/f/f3fbf7bc47a105270aabdd474a1b1a9c30ec0f7d.jpeg)

---

<div class="post-metadata">

**Author:** ![NekkooXD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NekkooXD](https://forums.unrealengine.com/u/NekkooXD)\
**Post date:** [July 23, 2024, 2:58pm UTC](https://forums.unrealengine.com/t/viewport-size-and-screen-resolution-different-issue/504187/2 "2024-07-23T14:58:27Z")

</div>

Hi,  
When i was looking for “unreal difference between screen resolution and viewport size”, i found this post. Well, i just wanted to ask, did you find a fix?  
Thank you!

---

<div class="post-metadata">

**Author:** ![WhyUWatchingThis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WhyUWatchingThis](https://forums.unrealengine.com/u/WhyUWatchingThis)\
**Post date:** [November 1, 2024, 12:16am UTC](https://forums.unrealengine.com/t/viewport-size-and-screen-resolution-different-issue/504187/3 "2024-11-01T00:16:08Z")

</div>

No not really I decided the issue itself is more annoying then something I needed to fix. A workaround I used for now was creating a widget on top of everything that blocks out anything outside of the desired resolution.
