title: I can't resize the scrollbar in python tkinter canvas (it is too small, I set the width option, but it did not work)
body: <p>I tried to add the scrollbars to my tkinter canvas  </p>
  
  <pre><code>w=10000
  h=10000
  m=500
  import tkinter
  canvas=tkinter.Canvas(width=w,height=h,bg='white',scrollregion=[0,0,w,h])
  canvas.pack()
  from tkinter import*
  </code></pre>
  
  <p>this works:</p>
  
  <pre><code>vscrollbar = Scrollbar(canvas,orient="vertical",width=500)
  vscrollbar.pack(side=RIGHT, fill=Y)
  canvas.config(yscrollcommand=vscrollbar.set)
  vscrollbar.config(command=canvas.yview)
  </code></pre>
  
  <p>but there is some problem, I think:</p>
  
  <pre><code>hscrollbar = Scrollbar(canvas,orient="horizontal",width=500) #does not work
  hscrollbar.pack(side=BOTTOM, fill=X)
  canvas.config(xscrollcommand=hscrollbar.set)
  hscrollbar.config(command=canvas.xview)
  </code></pre>