# UE4 Reset Widget DPI Scaling Curve to Default

**URL:** <https://forums.unrealengine.com/t/ue4-reset-widget-dpi-scaling-curve-to-default/417224>\
**Category:** UI\
**Tags:** reset-to-default, unreal-engine, scaling, Widget, question, dpi\
**Created:** [February 13, 2018, 6:41pm UTC](https://forums.unrealengine.com/t/ue4-reset-widget-dpi-scaling-curve-to-default/417224 "2018-02-13T18:41:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarsMiner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MarsMiner](https://forums.unrealengine.com/u/MarsMiner)\
**Post date:** [February 13, 2018, 6:41pm UTC](https://forums.unrealengine.com/t/ue4-reset-widget-dpi-scaling-curve-to-default/417224/1 "2018-02-13T18:41:47Z")

</div>

Hi all,

I was messing around in Project Settings with the DPI scaling curve for my widgets. I ended up deleting all the points on the curve by mistake and I cannot figure out how to reset them. Currently my widgets just stay the same size no matter the size of the viewport so it’s important I figure out how to reset this.

There is a ‘reset to defaults’ button in the top right but it is greyed out. Also, I am not sure if this would reset all of project settings or just the currently opened section.

How can I reset the curve to default?

Thanks in advance!

EDIT: If nobody know how to do this, could somebody who hasn’t messed with the DPI at all just send me the correct information so I can create the default again myself. Ideally I would know how to reset it as that would be a bit of a bother but if nobody knows it’s alright.

---

<div class="post-metadata">

**Author:** ![Poolbeer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Poolbeer](https://forums.unrealengine.com/u/Poolbeer)\
**Post date:** [February 13, 2018, 9:32pm UTC](https://forums.unrealengine.com/t/ue4-reset-widget-dpi-scaling-curve-to-default/417224/2 "2018-02-13T21:32:53Z")

</div>

I can’t help you on how to reset this specific setting but, paste this into your DefaultEngine.ini under `[/Script/Engine.UserInterfaceSettings]` and the curve should ok again.

```
UIScaleCurve=(EditorCurveData=(PreInfinityExtrap=RCCE_Constant,PostInfinityExtrap=RCCE_Constant,DefaultValue=340282346638528859811704183484516925440.000000,Keys=((Time=480.000000,Value=0.444000),(Time=720.000000,Value=0.666000),(Time=1080.000000,Value=1.000000),(Time=8640.000000,Value=8.000000))),ExternalCurve=None)
```

---

<div class="post-metadata">

**Author:** ![MarsMiner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MarsMiner](https://forums.unrealengine.com/u/MarsMiner)\
**Post date:** [February 14, 2018, 6:40am UTC](https://forums.unrealengine.com/t/ue4-reset-widget-dpi-scaling-curve-to-default/417224/3 "2018-02-14T06:40:51Z")

</div>

Thank you so much! Very helpful. I won’t mess with the graph again!

---

<div class="post-metadata">

**Author:** ![QuantaCat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@QuantaCat](https://forums.unrealengine.com/u/QuantaCat)\
**Post date:** [September 5, 2019, 8:41am UTC](https://forums.unrealengine.com/t/ue4-reset-widget-dpi-scaling-curve-to-default/417224/4 "2019-09-05T08:41:03Z")

</div>

FYI, from reading the bit of code in the answer, the 4 keys to set are: 480,0.444; 720,0.666; 1080,1; 8640,8
