summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/filelist.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-09-21 08:20:06 (GMT)
committerGitHub <noreply@github.com>2017-09-21 08:20:06 (GMT)
commita96c96f5dab68d4e611af4b8caefd7268533fd9a (patch)
tree938b41feb0a8e91bbec971916156274469547ef5 /Lib/idlelib/filelist.py
parent3d1e2ab584ed0175592b5be2a0bc98dc1723776a (diff)
downloadcpython-a96c96f5dab68d4e611af4b8caefd7268533fd9a.zip
cpython-a96c96f5dab68d4e611af4b8caefd7268533fd9a.tar.gz
cpython-a96c96f5dab68d4e611af4b8caefd7268533fd9a.tar.bz2
bpo-31500: IDLE: Scale default fonts on HiDPI displays. (#3639)
Diffstat (limited to 'Lib/idlelib/filelist.py')
-rw-r--r--Lib/idlelib/filelist.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/filelist.py b/Lib/idlelib/filelist.py
index f46ad7c..5e1a3dc 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)