Uhh ok, apparently this osenv var is just idiotic?
See https://www.pikers.dev/pikers/piker/issues/50#issuecomment-1041 for deatz.dpi_font_autocalc_fomo_bits
parent
6ee0d86548
commit
ee353099e8
|
|
@ -47,7 +47,9 @@ from pyqtgraph import QtGui
|
|||
|
||||
|
||||
# https://doc.qt.io/qt-6/highdpi.html#environment-variable-reference
|
||||
os.environ['QT_USE_PHYSICAL_DPI'] = '1'
|
||||
os.environ['QT_USE_PHYSICAL_DPI'] = '0'
|
||||
# TODO? i don't get how this is useful, when i set it it seems
|
||||
# the physical-dpi get's computed incorrectly??
|
||||
|
||||
# Proper high DPI scaling is available in Qt >= 5.6.0. This attibute
|
||||
# must be set before creating the application
|
||||
|
|
|
|||
Loading…
Reference in New Issue