Kaydet (Commit) d081229c authored tarafından Terry Jan Reedy's avatar Terry Jan Reedy

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

üst 47304c06
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment