craftablescience / VPKEdit

A CLI/GUI tool to create, read, and write several pack file formats.
https://developer.valvesoftware.com/wiki/VPKEdit
MIT License
255 stars 21 forks source link

DPI Scaling #134

Open JasperCarmack opened 7 months ago

JasperCarmack commented 7 months ago

Describe Your Suggestion

I'm running the app on 2560x1440, and wanted to suggest some form of DPI scaling for the general text to make it easier to read on larger displays.

I took a screenshot using one of the few Windows scaling features to show how it could look (The reason I don't just do it this way is that this causes filenames in windows explorer to start bunching up into cluttered messes, and become cut off vertically).

Preview

craftablescience commented 7 months ago

Hmm, in theory it should already support DPI scaling. I wish I had a 4k monitor so I could properly test this.

What is your display scale set to? (Found here:) image If it's set to 100% the application might be rendering as intended.

Besides that, there is a workaround you can do that will forcibly rescale the program:

This is a hack that Qt implemented for testing high DPI layouts on lower resolution monitors, but it does "work" for this use case as well.