mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
Issue #24782: Limit width of canvas and hence IDLE settings dialog.
This commit is contained in:
parent
47304c0669
commit
d081229c4e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue