mirror of https://github.com/python/cpython
Issue #24782: Limit width of canvas and hence IDLE settings dialog.
This commit is contained in:
parent
47304c0669
commit
d081229c4e
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue