Yup - that’s a massive overkill just to display some HTML content properly in HiDPI enabled Windows applications.
[quote]Windows HiDPI Known Issues
HTMLViewer is not scaled on HiDPI screens.[/quote]
This is not entirely true… You can get HTMLViewer
with Renderer: Native
to show content with proper HiDPI scaling.
The workaround is to set the following Registry Value for the application (before first instantiating a HTMLViewer
):
HKCU\\SOFTWARE\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_96DPI_PIXEL
MyAppName.exe = 1
I’ve added this information to <https://xojo.com/issue/43991> along with an example project and ScreenShots.
Maybe Xojo will at least add that information to the HTMLViewer Documentation.
I don’t know what will happen on Windows 7/8/8.1… if someone cares to test, thanks