mirror of
https://github.com/Wanderson-Magalhaes/Modern_GUI_PyDracula_PySide6_or_PyQt6.git
synced 2026-02-16 23:43:56 +00:00
Fix High DPI and Scale above 100%
This commit is contained in:
committed by
GitHub
parent
81baffff2c
commit
6701b837bc
2
main.py
2
main.py
@@ -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
|
||||
# ///////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user