# Widget Component Screen Location Wrong In Editor

**URL:** <https://forums.unrealengine.com/t/widget-component-screen-location-wrong-in-editor/434212>\
**Category:** UI\
**Tags:** screen-space, unreal-engine, Widget, question\
**Created:** [September 21, 2018, 2:49pm UTC](https://forums.unrealengine.com/t/widget-component-screen-location-wrong-in-editor/434212 "2018-09-21T14:49:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![himanPanda](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/himanpanda/32/1030624_2.png) [@himanPanda](https://forums.unrealengine.com/u/himanPanda)\
**Post date:** [September 21, 2018, 2:49pm UTC](https://forums.unrealengine.com/t/widget-component-screen-location-wrong-in-editor/434212/1 "2018-09-21T14:49:29Z")

</div>

Hello!

I try to show a focus icon on enemy which locked by player  
so i create a Widget Component and use Screen Space

 ![254333-4.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/1/7/817b0ff99b9dbb5421614b32f57171a6b4feefde.jpeg)

and the focus icon show wrong location in editor by **New Editor Window** mode

 ![254335-123.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/f/8/7f872591fffc7204e90f7861b03afde6dcb957f5.png)

or **Selected Viewport** mode

 ![254336-34545.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/9/0/190c51e50b2f6da30c7ed2dff2f409ef2d95b6ce.png)

But it show the right location when **Launch** it

 ![254337-6666.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/3/0/43082fb7a5cf3dad4aa633801f1aa23ff698ee4b.png)

---

<div class="post-metadata">

**Author:** ![himanPanda](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/himanpanda/32/1030624_2.png) [@himanPanda](https://forums.unrealengine.com/u/himanPanda)\
**Post date:** [September 22, 2018, 1:53am UTC](https://forums.unrealengine.com/t/widget-component-screen-location-wrong-in-editor/434212/2 "2018-09-22T01:53:08Z")

</div>

I think i resolve this problem

> **[Problem with high dpi scaling monitors](https://forums.unrealengine.com/questions/665826/problem-with-high-dpi-scaling-monitors.html)**
>
> Hi community, i have one problem with my 4k monitor and UE4, but this problem affects so many things, i don’t wont find escaping decision anymore. I work on 23-inch monitor with 4K resolution, of course i use it with high dpi scaling, all UI elements...

---

<div class="post-metadata">

**Author:** ![NorlinGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/norlingames/32/495614_2.png) [@NorlinGames](https://forums.unrealengine.com/u/NorlinGames)\
**Post date:** [October 10, 2018, 5:17pm UTC](https://forums.unrealengine.com/t/widget-component-screen-location-wrong-in-editor/434212/3 "2018-10-10T17:17:34Z")

</div>

In fact, it’s not a solution, in the best case it’s just a workaround. The isue is fixed in the 4.21.0-Preview1

---

<div class="post-metadata">

**Author:** ![himanPanda](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/himanpanda/32/1030624_2.png) [@himanPanda](https://forums.unrealengine.com/u/himanPanda)\
**Post date:** [November 9, 2018, 11:11am UTC](https://forums.unrealengine.com/t/widget-component-screen-location-wrong-in-editor/434212/4 "2018-11-09T11:11:10Z")

</div>

Yes,you are right,I update to 4.21 today and this question have been resolved!  
Thank you!
