Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

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.