i-nex / I-Nex

System information tool written in gambas3, python, bash
http://i-nex.linux.pl/
174 stars 24 forks source link

No support for hi-DPI #85

Open ghost opened 6 years ago

ghost commented 6 years ago

This excellent program doesn't work well - is largely unusable - with hight D.P.I. screens. Here's a screenshot of I-nex running on such a screen. The window will not expand any further than shown in the screenshot.

image

Mint 18.3 Cinnamon. DPI scaling: x2. Screen size: 2560x1440. I-Nex 7.6.0

jboero commented 4 years ago

Workaround that I've found for this is to use QT's environment variable export QT_SCREEN_SCALE_FACTORS=1.5

Don't use QT_SCALE_FACTOR or QT_AUTO_SCREEN_SCALE_FACTOR as they scale both text and graphics. QT_SCREEN_SCALE_FACTORS adjusts only the graphical scale and leaves fonts alone for multiple screens. Sad how convoluted QT has become over previous versions of this.