You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IDLE: path browser unusable on some displays #81222
On my computer (Windows 10, screen resolution 3000 x 2000, scaling of text and other elements set at 200% as the recommended value), the path browser is essentially unusable as the items overlap each other. See the attached image.
I found that changing the following:
defdraw(self, x, y):
# XXX This hard-codes too many geometry constants!dy=40# changed from 20
Another reason to replace IDLE's custom tree widget with hard-coded constants with ttk.Treeview.
I am closing this because I believe that bpo-31552 will solve this problem. For an initial check, run the following test code, extracted from https://tkdocs.com/tutorial/tree.html
Click the [+] buttons. I am curious whether commenting out the fix_scaling call makes any difference.
Activity
aroberge commentedon May 25, 2019
On my computer (Windows 10, screen resolution 3000 x 2000, scaling of text and other elements set at 200% as the recommended value), the path browser is essentially unusable as the items overlap each other. See the attached image.
I found that changing the following:
in tree.py solved the problem.
terryjreedy commentedon May 26, 2019
Another reason to replace IDLE's custom tree widget with hard-coded constants with ttk.Treeview.
I am closing this because I believe that bpo-31552 will solve this problem. For an initial check, run the following test code, extracted from
https://tkdocs.com/tutorial/tree.html
Click the [+] buttons. I am curious whether commenting out the fix_scaling call makes any difference.
---------
aroberge commentedon May 26, 2019
I ran the example you gave and it worked perfectly.