Open macwoj1569 opened 5 years ago
Appreciate the issue being raised. I don't use desktop scaling in my projects or have a high DPI screen to test on so I will leave this as "waiting for developer". If anyone wants to tackle this I'd happily accept a PR.
I had the same problem as the OP, but I was able to solve it without an actual code change, but a config change. The solution is described here: https://docs.microsoft.com/en-us/dotnet/desktop/winforms/high-dpi-support-in-windows-forms?view=netframeworkdesktop-4.8 Basically all I did was add
<System.Windows.Forms.ApplicationConfigurationSection>
<add key="DpiAwareness" value="PerMonitorV2" />
</System.Windows.Forms.ApplicationConfigurationSection>
to the app.config and change the .NET version to 4.7.2. Then it works... per the article.