From a96c96f5dab68d4e611af4b8caefd7268533fd9a Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Thu, 21 Sep 2017 11:20:06 +0300 Subject: bpo-31500: IDLE: Scale default fonts on HiDPI displays. (#3639) --- Lib/idlelib/filelist.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Lib/idlelib/filelist.py') diff --git a/Lib/idlelib/filelist.py b/Lib/idlelib/filelist.py index f46ad7cd7e..5e1a3dcd77 100644 --- a/Lib/idlelib/filelist.py +++ b/Lib/idlelib/filelist.py @@ -113,8 +113,10 @@ class FileList: def _test(): from idlelib.editor import fixwordbreaks + from idlelib.run import fix_scaling import sys root = Tk() + fix_scaling(root) fixwordbreaks(root) root.withdraw() flist = FileList(root) -- cgit v1.2.1