mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Merge with 3.5
This commit is contained in:
commit
5682850e1f
1 changed files with 1 additions and 1 deletions
|
@ -1389,7 +1389,7 @@ class VerticalScrolledFrame(Frame):
|
||||||
vscrollbar = Scrollbar(self, orient=VERTICAL)
|
vscrollbar = Scrollbar(self, orient=VERTICAL)
|
||||||
vscrollbar.pack(fill=Y, side=RIGHT, expand=FALSE)
|
vscrollbar.pack(fill=Y, side=RIGHT, expand=FALSE)
|
||||||
canvas = Canvas(self, bd=0, highlightthickness=0,
|
canvas = Canvas(self, bd=0, highlightthickness=0,
|
||||||
yscrollcommand=vscrollbar.set)
|
yscrollcommand=vscrollbar.set, width=240)
|
||||||
canvas.pack(side=LEFT, fill=BOTH, expand=TRUE)
|
canvas.pack(side=LEFT, fill=BOTH, expand=TRUE)
|
||||||
vscrollbar.config(command=canvas.yview)
|
vscrollbar.config(command=canvas.yview)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue