Fix High DPI and Scale above 100%

This commit is contained in:
Wanderson M. Pimenta
2021-05-11 11:54:52 -03:00
committed by GitHub
parent 81baffff2c
commit 6701b837bc

View File

@@ -15,12 +15,14 @@
# ///////////////////////////////////////////////////////////////
import sys
import os
import platform
# IMPORT / GUI AND MODULES AND WIDGETS
# ///////////////////////////////////////////////////////////////
from modules import *
from widgets import *
os.environ["QT_FONT_DPI"] = "96" # FIX Problem for High DPI and Scale above 100%
# SET AS GLOBAL WIDGETS
# ///////////////////////////////////////////////////////////////