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 webbrowser
# Set high DPI on Windows
try:
from ctypes import windll
windll.shcore.SetProcessDpiAwareness(1)
except:
pass
# Global variables and notices
inputFile = ""
outputFile = ""