tasmota / tasmotizer

ESP... The time has come to... Tasmotize!
GNU General Public License v3.0
1.39k stars 181 forks source link

Improvement idea: Windows high DPI support (and a workaround) #94

Open waded opened 3 years ago

waded commented 3 years ago

It'd be if Tasmotizer on Windows (I tested release binary 1.2) support high DPI displays. On a 3000x2000 13.3" display I find its user interface uncomfortably small to read & click - nearly all apps I use on this laptop respect the default 200% scaling factor, but as Tasmotizer's currently built it's about half the size I expect.

As a workaround, specifying the Qt parameter that forces DPI-unaware rescaling works: tasmotizer-1.2.exe -platform windows:dpiawareness=0. It perhaps would look better with DPI-aware rendering, but this is a good start, this is comfortable. Here's a picture of the two modes:

image

If I figure out a better change I'll submit a PR.