FrodeSolheim / fs-uae-launcher

A frontend for the FS-UAE Amiga emulator with support for the OpenRetro online game database.
GNU General Public License v2.0
61 stars 14 forks source link

High DPI scaling not taking effect #84

Closed rhaleblian closed 4 years ago

rhaleblian commented 4 years ago

Firstly, hats off to the developers for a great design and result with this project.

Launcher looks to be the absolute size appropriate for a 2K display when running on my 4K screen in Windows 10. Teeny.

A mitigation that works for me:

  1. use cmd.exe, set QT_AUTO_SCREEN_SCALE_FACTOR=2, launch, set font size to 10, quit, relaunch. Below is the result.

image

I see that the auto-scaling attribute that Qt prescribes is being used, and that font size is in units of points. Both good things, if they worked...

rhaleblian commented 4 years ago

One thought is to check my display's EDID to check if it's junk. However, most other applications do seem to scale reasonably. And i'm not sure how well Window's own display scaling could work if that were the case?

rhaleblian commented 4 years ago

Another approach is to skip the use of the forcing env var and set font size to 7. Iconography is small but readable. image

rhaleblian commented 4 years ago

I think that tweaking things to accomodate HiDPI work well enough that there's nothing to fix. I had found that i needed to restart Launcher after a font size change, which threw me off for a bit.