1
0
Fork 0
mirror of https://github.com/HACKERALERT/Picocrypt.git synced 2024-11-10 20:57:25 +00:00

Added high DPI support

This commit is contained in:
Evan Su 2021-03-13 12:20:29 -05:00 committed by GitHub
parent 5b6894d87a
commit e3216da69b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,13 @@ import tkinter.ttk
import tkinter.scrolledtext import tkinter.scrolledtext
import webbrowser import webbrowser
# Set high DPI on Windows
try:
from ctypes import windll
windll.shcore.SetProcessDpiAwareness(1)
except:
pass
# Global variables and notices # Global variables and notices
inputFile = "" inputFile = ""
outputFile = "" outputFile = ""