From 1256b3c677172967f158693b0af8de0125ed687d Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Thu, 22 Oct 2015 03:27:27 -0400 Subject: [PATCH] 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 d7c4dfb2dc..579b9b3643 100644 --- a/Lib/idlelib/configDialog.py +++ b/Lib/idlelib/configDialog.py @@ -1406,7 +1406,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) -- 2.50.1