mayo icon indicating copy to clipboard operation
mayo copied to clipboard

HiDPI

Open VictorLamoine opened this issue 3 years ago • 1 comments

On high resolution screens the application does not display correctly:

Here on a laptop with a 2880x1800 screen resolution: Screenshot_20220204_133945

3D viewer is too small

Running QT_SCALE_FACTOR=0.5 ./mayo: Screenshot_20220204_133911

Now the viewer is correctly sized but the text is very small.

https://doc.qt.io/qt-5/highdpi.html

VictorLamoine avatar Feb 04 '22 12:02 VictorLamoine

Thanks for reporting! Duplicates #54

HuguesDelorme avatar Feb 04 '22 13:02 HuguesDelorme

@VictorLamoine Branch bugfix/highdpi is an attempt to fix high DPI support. I don't have a suitable screen for real testing, I used QT_SCALE_FACTOR to simulate higher DPI. It would be great if you have some time to check that branch works on your local machine! Let me know any feedback Greetings

HuguesDelorme avatar Feb 10 '23 14:02 HuguesDelorme

Sorry for the late reply: It now works perfectly out of the box on a HDPI screen, good work 👍🏼

VictorLamoine avatar Mar 02 '23 09:03 VictorLamoine

Good news! Many thanks for your feedback

HuguesDelorme avatar Mar 02 '23 09:03 HuguesDelorme