#6527 Added dpiAwareness PerMonitor to fix scaling in core on Windows, and also set window height to auto (0) which prevents elements being squashed in the config app

This commit is contained in:
jammie999 2019-05-15 20:57:03 +01:00 committed by Nick Bolton
parent a205544b3d
commit 4b809048ad
5 changed files with 38 additions and 2 deletions

View File

@ -29,6 +29,7 @@ if (WIN32)
tb_idle.ico
tb_run.ico
tb_wait.ico
synergyc.exe.manifest
)
elseif (APPLE)
file(GLOB arch_headers "OSX*.h")

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitor</dpiAwareness>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>
</assembly>

View File

@ -29,6 +29,7 @@ if (WIN32)
tb_idle.ico
tb_run.ico
tb_wait.ico
synergys.exe.manifest
)
elseif (APPLE)
file(GLOB arch_headers "OSX*.h")

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitor</dpiAwareness>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>
</assembly>

View File

@ -18,8 +18,8 @@
</property>
<property name="minimumSize">
<size>
<width>500</width>
<height>400</height>
<width>600</width>
<height>0</height>
</size>
</property>
<property name="windowTitle">