changeset: 98826:a96e39e20490 branch: 2.7 parent: 98808:8953a42c2ac4 user: Terry Jan Reedy date: Thu Oct 22 03:27:27 2015 -0400 files: Lib/idlelib/configDialog.py description: Issue #24782: Limit width of canvas and hence IDLE settings dialog. diff -r 8953a42c2ac4 -r a96e39e20490 Lib/idlelib/configDialog.py --- a/Lib/idlelib/configDialog.py Tue Oct 20 02:15:23 2015 -0400 +++ b/Lib/idlelib/configDialog.py Thu Oct 22 03:27:27 2015 -0400 @@ -1406,7 +1406,7 @@ 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)