The main part of the fix is to specify app's DPI awareness. It is done by specifying Windows DPI awareness in manifest file. Additionally the test was added to ensure that selected r_mode does not exceed current desktop size.
8 lines
333 B
Plaintext
8 lines
333 B
Plaintext
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" >
|
|
<asmv3:application>
|
|
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
|
|
<dpiAware>true/pm</dpiAware>
|
|
</asmv3:windowsSettings>
|
|
</asmv3:application>
|
|
</assembly>
|