title: How to customize a frame with tkinter
body: <p>I try to understand how tkinter works. I have this simple program:</p>
  
  <pre><code>import tkinter as tk
  
  class Application:
      def __init__(self, master):
          frame = tk.Frame(master, height=100, width=500, bg="#FFFFFF", bd=10)
          frame.grid()
          self.button = tk.Button(frame, text="QUIT", fg="red", command=frame.quit)
          self.button.grid()
  
  root = tk.Tk()
  app=Application(root)
  root.mainloop()
  </code></pre>
  
  <p>when I run the program I get a window, but the options I specified for the frame (height, width ...) are not working. Where is my mistake? Thank you for helping.</p>