Ignore Scaling UWP App In Hololens.

Windows 10 automatically applies a scale factor to UWP apps, to give a similar effective pixel size across multiple devices (https://blogs.technet.microsoft.com/supportingwindows/2015/12/08/display-scaling-in-windows-10/).

When running my UWP app on the Hololens it applies a 150% scale factor.
I want to ignore this, as I want my UI to look the same across any screen of the same resolution (1280x720). Is this possible?

Some people suggest using TrySetDisableLayoutScaling (https://docs.microsoft.com/en-us/uwp/api/windows.ui.viewmanagement.applicationviewscaling) but this only seems to work for Xbox.

I could make different UIs for per device family, that take into account the different scale factors, but that is not ideal.

I posted it here, rather than stackoverflow, as I would expect this is an issue people have encountered before? Any help would be greatly appreciated!

Best Answer

Answers

Sign In or Register to comment.