mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
bpo-31500: IDLE: Scale default fonts on HiDPI displays. (#3639)
This commit is contained in:
parent
3d1e2ab584
commit
a96c96f5da
4 changed files with 20 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue