apockill / uArmCreatorStudio

uArm Creator Studio is a Visual Programming Language for robot arms, with a heavy emphasis on computer vision and usability for both low experience and high experience programmers. It's written entirely in Python, and supports python scripting within the application.
81 stars 39 forks source link

High dpi scaling problem #11

Open joihn opened 7 years ago

joihn commented 7 years ago

Hello,

The software doen't scale on an high dpi screen (4k), as a result, everything looks very small.

apockill commented 7 years ago

Hi Joihn, I appreciate you bringing up this issue. I'll be looking into it soon, after the upcoming release. As far as I understand, QT supports automatic DPI scaling that I could use, which would make this an easier solve. The only issue I see is that the icons would look bad if scaled (they're all 32x32).

Hmm... Any thoughts? Anyways, I'll get on this soon. Cheers!

joihn commented 7 years ago

Hi apockill, thanks for the fast response.

Most window app use automatic DPI scaling, and it work pretty well, I think it's probably the best way to go. Pyqt seems to have some documentation about it, but you probably already found it ;) http://doc.qt.io/qt-5/highdpi.html

If you don't have any 4k screen to test, tell me, I can be a beta tester ;)

About the icon, maybe they don't look too bad on a 4k screen (they will simply be 4 time bigger I think, but we have to test...) Have a nice day !