8000 Fix high DPI causes Tools/unittestgui(PyUnit) window blurry on Windows · python/cpython@5e5f1a3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5e5f1a3

Browse files
committed
Fix high DPI causes Tools/unittestgui(PyUnit) window blurry on Windows
1 parent 406ffb5 commit 5e5f1a3

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,6 +1096,7 @@ Ivan Levkivskyi
10961096
Ben Lewis
10971097
William Lewis
10981098
Akira Li
1099+
Jia Hao Li
10991100
Robert Li
11001101
Xuanji Li
11011102
Zekun Li
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix high DPI causes Tools/unittestgui(PyUnit) window blurry on Windows

Tools/unittestgui/unittestgui.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
from tkinter import simpledialog
4040

4141

42+
if sys.platform == 'win32':
43+
from idlelib.util import fix_win_hidpi
44+
fix_win_hidpi()
4245

4346

4447
##############################################################################

0 commit comments

Comments
 (0)
0