From: Terry Jan Reedy Date: Thu, 22 Oct 2015 07:27:31 +0000 (-0400) Subject: Issue #24782: Limit width of canvas and hence IDLE settings dialog. X-Git-Tag: v3.5.1rc1~135^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d081229c4ea9453e68381fb8a6dac62a0638bc2d;p=python Issue #24782: Limit width of canvas and hence IDLE settings dialog. --- diff --git a/Lib/idlelib/configDialog.py b/Lib/idlelib/configDialog.py index 3aa6672100..f5388178e0 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)