mirror of
https://github.com/HACKERALERT/Picocrypt.git
synced 2025-01-11 01:53:52 +01:00
Added high DPI support
This commit is contained in:
parent
5b6894d87a
commit
e3216da69b
@ -32,6 +32,13 @@ import tkinter.ttk
|
||||
import tkinter.scrolledtext
|
||||
import webbrowser
|
||||
|
||||
# Set high DPI on Windows
|
||||
try:
|
||||
from ctypes import windll
|
||||
windll.shcore.SetProcessDpiAwareness(1)
|
||||
except:
|
||||
pass
|
||||
|
||||
# Global variables and notices
|
||||
inputFile = ""
|
||||
outputFile = ""
|
||||
|
Loading…
Reference in New Issue
Block a user