From: Terry Jan Reedy Date: Thu, 22 Oct 2015 07:27:27 +0000 (-0400) Subject: Issue #24782: Limit width of canvas and hence IDLE settings dialog. X-Git-Tag: v2.7.11rc1~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1256b3c677172967f158693b0af8de0125ed687d;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 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)