Yes that does work resonably well. I don't think every UI element is scaled perfectly but it is certainly usable. Thanks.
If you want to look into supporting scaling in Windows in the future, take a look at the GetDpiForWindow
function. The default return value for an unscaled screen is 96. On my system, I've gone into the display settings in Windows and selected 200% scaling, and the return value is 192. So you effectively get a scaling factor (192/96 = 2) for displaying all UI elements.
I've done this myself with ImGui, so it's definitely possible with a bit of care when passing coordinates to ImGui.