From 27bd5995f36589e6da82fe6cbf6aae813005e622 Mon Sep 17 00:00:00 2001 From: Akashdeep Dhar Date: Dec 07 2021 03:24:44 +0000 Subject: Merge branch 'density-accordance' into 'main' Allow scaling with global scaling factor Closes #16 See merge request t0xic0der/obserware!36 --- diff --git a/obserware/main.py b/obserware/main.py index e27d93a..f04ca15 100644 --- a/obserware/main.py +++ b/obserware/main.py @@ -17,6 +17,7 @@ along with this program. If not, see . """ +import os import sys from PyQt5.QtGui import QFontDatabase @@ -37,6 +38,7 @@ def populate_font_database(): def main(): + os.environ["QT_AUTO_SCREEN_SCALE_FACTOR"] = "1" app = QApplication(sys.argv) populate_font_database() window = MainWind()