From d081229c4ea9453e68381fb8a6dac62a0638bc2d Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Thu, 22 Oct 2015 03:27:31 -0400 Subject: Issue #24782: Limit width of canvas and hence IDLE settings dialog. --- Lib/idlelib/configDialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12