summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/filelist.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2017-09-21 15:15:45 (GMT)
committerGitHub <noreply@github.com>2017-09-21 15:15:45 (GMT)
commit0c4997f1919d8583353b12537a63dcbe7b9d280f (patch)
tree6eb92a2d6eb92675205e8b3fa261730a1e8246fe /Lib/idlelib/filelist.py
parent88d0663005d258526496d1f8ee0acb7103c69e80 (diff)
downloadcpython-0c4997f1919d8583353b12537a63dcbe7b9d280f.zip
cpython-0c4997f1919d8583353b12537a63dcbe7b9d280f.tar.gz
cpython-0c4997f1919d8583353b12537a63dcbe7b9d280f.tar.bz2
[3.6] bpo-31500: IDLE: Scale default fonts on HiDPI displays. (GH-3639) (#3686)
(cherry picked from commit a96c96f)
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)