mirror of
https://github.com/Wanderson-Magalhaes/Modern_GUI_PyDracula_PySide6_or_PyQt6.git
synced 2026-02-17 07:53:56 +00:00
Update README.md
This commit is contained in:
committed by
GitHub
parent
0f297264ee
commit
81baffff2c
11
README.md
11
README.md
@@ -15,6 +15,17 @@ Presentation and tutorial video with the main functions of the user interface.
|
||||

|
||||

|
||||
|
||||
# High DPI
|
||||
> Qt Widgets is an old technology and does not have a good support for high DPI settings, making these images look distorted when your system has DPI applied above 100%.
|
||||
You can minimize this problem using a workaround by applying this code below in "main.py" just below the import of the Qt modules.
|
||||
```python
|
||||
# ADJUST QT FONT DPI FOR HIGHT SCALE
|
||||
# ///////////////////////////////////////////////////////////////
|
||||
from modules import *
|
||||
from widgets import *
|
||||
os.environ["QT_FONT_DPI"] = "96"
|
||||
```
|
||||
|
||||
# Running
|
||||
> Inside your preferred terminal run the commands below depending on your system, remembering before installing Python 3.9> and PySide6 "pip install PySide6".
|
||||
> ## **Windows**:
|
||||
|
||||
Reference in New Issue
Block a user