Skip to content

Commit

Permalink
Added high DPI support
Browse files Browse the repository at this point in the history
  • Loading branch information
HACKERALERT authored Mar 13, 2021
1 parent 5b6894d commit e3216da
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Picocrypt.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@
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 = ""
Expand Down

0 comments on commit e3216da

Please sign in to comment.