title: Tkinter grid spacing problems
body: <p>I'm trying to understand how tk grid layouts work since the interface isn't  looking the way I thought it would. I'm trying to place a label followed by 2 buttons on the same row, and a treeview on the next row that spans beyond the width of the label and buttons. The only way to get this to look how I want is if I use a huge value for the treeview's columnspan. Here is my code:</p>
  
  <pre><code>import tkinter as tk
  from tkinter import ttk
  
  root = tk.Tk()
  
  columnHeadings = ("Heading 1", "Heading 2")
  
  def printMsg():
      print("Ok")
  
  frame = ttk.Frame(root).grid(row=0, column=0)
  
  label1 = tk.Label(frame, text="Label here").grid(row=0, column=0, columnspan=1)
  button1 = tk.Button(frame, text="Yes", width=2, command=printMsg).grid(row=0, column=1)
  button2 = tk.Button(frame, text="No", width=2, command=printMsg).grid(row=0, column=2)
  #Label and buttons too far apart
  #treeview1 = ttk.Treeview(frame, columns=columnHeadings, show='headings').grid(row=1,column=0, columnspan=3)
  
  #Right distance but that's a huge columnspan
  treeview1 = ttk.Treeview(frame, columns=columnHeadings, show='headings').grid(row=1,column=0, columnspan=100)
  
  root.mainloop()
  </code></pre>
  
  <p>When columnspan is 3, the first row has a lot of spaces between the label and buttons. When columnspan is 100, the label and button spacing looks  a lot better but I know this isn't the correct way. What's the correct way to do this?</p>