[UI] Add PerMonitor fallback to Windows dpiAwareness

This commit is contained in:
Triang3l 2022-02-14 12:35:08 +03:00
parent 09f6081b16
commit 74c109273c
1 changed files with 5 additions and 1 deletions

View File

@ -7,8 +7,12 @@
</dependency>
<asmv3:application>
<asmv3:windowsSettings>
<!-- System on Windows Vista, per-monitor on Windows 8.1. -->
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">True/PM</dpiAware>
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
<!-- dpiAwareness is an ordered list (most preferred first) of the supported modes. -->
<!-- https://blogs.windows.com/windowsdeveloper/2017/04/04/high-dpi-scaling-improvements-desktop-applications-windows-10-creators-update/ -->
<!-- PerMonitor on Windows 10 1607, PerMonitorV2 on Windows 10 1703. -->
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2,PerMonitor</dpiAwareness>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>