Issue #24782: Limit width of canvas and hence IDLE settings dialog.

This commit is contained in:
Terry Jan Reedy 2015-10-22 03:27:31 -04:00
parent 47304c0669
commit d081229c4e
1 changed files with 1 additions and 1 deletions

View File

@ -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)