summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-10-22 07:27:31 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2015-10-22 07:27:31 (GMT)
commitd081229c4ea9453e68381fb8a6dac62a0638bc2d (patch)
tree4c8078b44393a7367092327300184170d745db54
parent47304c0669244c4c9908364f00b40a6435a500d6 (diff)
downloadcpython-d081229c4ea9453e68381fb8a6dac62a0638bc2d.zip
cpython-d081229c4ea9453e68381fb8a6dac62a0638bc2d.tar.gz
cpython-d081229c4ea9453e68381fb8a6dac62a0638bc2d.tar.bz2
Issue #24782: Limit width of canvas and hence IDLE settings dialog.
-rw-r--r--Lib/idlelib/configDialog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/configDialog.py b/Lib/idlelib/configDialog.py
index 3aa66721..f538817 100644
--- a/Lib/idlelib/configDialog.py
+++ b/Lib/idlelib/configDialog.py
@@ -1389,7 +1389,7 @@ class VerticalScrolledFrame(Frame):
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)