DPI Scaling

How to access and adjust DPI Scaling Rules.

Windows
MacOS
Linux

UMG supports automatic scaling for resolution-independent UI. There are default DPI scaling rules applied to every project which configured as you see fit from inside the Project Settings menu under the User Interface section.

ProjectSettings.png

For the DPI Scale Rule, you can set this to one of four options:

  • Shortest Side - Which evaluates the scale curve based on the shortest side of the viewport (Most Common Setting).

  • Longest Side - Evaluates the scale curve based on the longest side of the viewport.

  • Horizontal - This evaluates the scale curve based on the X axis of the viewport.

  • Vertical - This option evaluates the scale curve based on the Y axis of the viewport.

You can add points to the curve by Right-clicking and selecting the Add Key option. When clicking on a Key on the curve, you can set the resolution and its corresponding scale value via the input boxes. Also for the curve, you can supply an external Float Curve or create a Float Curve based on the currently applied settings by expanding the DPI Curve option.

ExternalCurve.png

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback