[Python-checkins] cpython (2.7): Issue #24782: Limit width of canvas and hence IDLE settings dialog.
terry.reedy
python-checkins at python.org
Thu Oct 22 03:28:22 EDT 2015
https://hg.python.org/cpython/rev/a96e39e20490
changeset: 98826:a96e39e20490
branch: 2.7
parent: 98808:8953a42c2ac4
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Thu Oct 22 03:27:27 2015 -0400
summary:
Issue #24782: Limit width of canvas and hence IDLE settings dialog.
files:
Lib/idlelib/configDialog.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/idlelib/configDialog.py b/Lib/idlelib/configDialog.py
--- a/Lib/idlelib/configDialog.py
+++ b/Lib/idlelib/configDialog.py
@@ -1406,7 +1406,7 @@
vscrollbar = Scrollbar(self, orient=VERTICAL)
vscrollbar.pack(fill=Y, side=RIGHT, expand=FALSE)
canvas = Canvas(self, bd=0, highlightthickness=0,
- yscrollcommand=vscrollbar.set)
+ yscrollcommand=vscrollbar.set, width=240)
canvas.pack(side=LEFT, fill=BOTH, expand=TRUE)
vscrollbar.config(command=canvas.yview)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list