[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] High-DPI window decorations (Issue #611)

Marcel Taeumel notifications at github.com
Mon Jan 17 11:34:45 UTC 2022


Have you tried to override the settings of the executable? On my machine the window decorations are scaled properly. It is nothing the VM itself can fix. In the Manifest, there are several levels of dpi-awareness, which also affect the scaling of the windows decorations.

Read more about this here: https://docs.microsoft.com/en-us/windows/win32/hidpi/high-dpi-desktop-application-development-on-windows?redirectedfrom=MSDN

In the app bundle, we use the following configuration in the Manifest:

```
<asmv3:application>
	<asmv3:windowsSetting>
		<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware>
		<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
	</asmv3:windowsSettings>
</asmv3:application>
```

To support both Windows 10 (Update 1703) and prior versions.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/611#issuecomment-1014423623
You are receiving this because you are subscribed to this thread.

Message ID: <OpenSmalltalk/opensmalltalk-vm/issues/611/1014423623 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20220117/67c9b465/attachment.html>


More information about the Vm-dev mailing list