I am working on a Hi-DPI monitor with a font scaling of 1.25. When I compile an app with the DesktopWebView2ControlMBS, using the “Supports Hi-DPI” setting, it scales not correctly.
Initially, when the app opens, everything looks ok:
But after resizing the window, the WebView2 control seems to apply the scaling factor the wrong way around:
Is there a workaround for this? I could apply the scaling factor myself - if I would know where I could obtain it. Any help would be much appreciated!