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:
parent
5b6894d87a
commit
e3216da69b
1 changed files with 7 additions and 0 deletions
|
@ -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 = ""
|
||||||
|
|
Loading…
Reference in a new issue