Uhh ok, apparently this osenv var is just idiotic?
See https://www.pikers.dev/pikers/piker/issues/50#issuecomment-1041 for deatz.
parent
24f5cbd4d6
commit
4791c878f7
|
|
@ -47,7 +47,9 @@ from pyqtgraph import QtGui
|
||||||
|
|
||||||
|
|
||||||
# https://doc.qt.io/qt-6/highdpi.html#environment-variable-reference
|
# 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
|
# Proper high DPI scaling is available in Qt >= 5.6.0. This attibute
|
||||||
# must be set before creating the application
|
# must be set before creating the application
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue