Last Updated: 15 Oct 2018 06:02 by ADMIN
Created on: 08 Feb 2018 12:09
Category: UI for WinForms
Type: Bug Report
FIX. RadControl - in a DPI unaware applications the controls` fonts are scaled on Windows 7 with scaling set to 125%
How to reproduce: test the attached project with the latest version on a Windows 7 machine, notice that the font sizes are scaled, test the project with assemblies before  R2 2017 the fonts are not scaled

The issue is observed even with the RadControl.EnableDpiScaling property set to false. It would be expected that if the property was set to false, that the fonts would not be increased.

Workaround: change the fonts for each of the controls individually, the scaling can be calculated this way:
  Protected Overrides Sub OnShown(e As EventArgs)

        Dim dpi = NativeMethods.GetSystemDpi()
        Dim scale = dpi.X / 96.0
    End Sub
Attached Files:
1 comment
Posted on: 28 Feb 2018 10:55
To benefit from the fix of the issue the static RadControl.EnableDpiScaling property needs to be set to false.