# DPI Scaling with WebView on Windows?

**URL:** <https://iplug2.discourse.group/t/dpi-scaling-with-webview-on-windows/1041>\
**Category:** Windows\
**Created:** [10 January 2026 03:56 UTC](https://iplug2.discourse.group/t/dpi-scaling-with-webview-on-windows/1041 "2026-01-10T03:56:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![soundshed](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/soundshed/32/413_2.png) [@soundshed](https://iplug2.discourse.group/u/soundshed)\
**Post date:** [10 January 2026 03:56 UTC](https://iplug2.discourse.group/t/dpi-scaling-with-webview-on-windows/1041/1 "2026-01-10T03:56:52Z")

</div>

Hi Folks,

I wondered if anyone had any tips for handling DPI scaling with WebView on Windows? Currently with 150% scaling in Windows (3840x2160 res display) I have to set my html doc CSS to `width:66.7vw` to reproduce normal scaling (width). Likewise there is an issue with document height as well, the screenshot should have a footer but it’s pushed outside the window view.

My code is using WebViewEditorDelegate as the plugin UI container

Windows Scaling set to 150% (see how the UI gets clipped)

 ![image](https://global.discourse-cdn.com/free1/uploads/iplug2/original/1X/63ecc9a257d209da55c6c1810f4c9e8c4682ce1e.png)
