title: Python 3.6 - Resizing Tkinter Buttons In Accordance With Frame Size
body: <p>I have been looking around on stack overflow for ages trying to find the answer to this but I just can't get anything to work, therefore I am asking this question. I have a little program with three buttons and a label, and they are in a grid. I was wondering how no matter the size or shape the buttons and label would stay the same relative to the frame. Similar to if I resized an image, everything stays the same size.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>from tkinter import *
  
  class Window(Frame): #All the stuff for the GUI
     def __init__(self, master = None):
        Frame.__init__(self, master)
        self.master = master
        self.init_window()
        self.grid()
  
     def init_window(self):
        self.master.title("EncryptDecrypt")
        self.pack(fill = BOTH, expand = 1)
  
        quitButton = Button(self, text = "Quit", command = self.client_exit, width = 10, height = 5) #Quit Button
        quitButton.grid(row = 0, column = 0, sticky = W)
  
        encryptModeButton = Button(self, text = "Encrypt", command = lambda: self.execute("decrypted.txt", "encrypted.txt", 1, 0), width = 10, height = 5) #Encrypt Button
        encryptModeButton.grid(row = 0, column = 1, sticky = W)
  
        decryptModeButton = Button(self, text = "Decrypt", command = lambda: self.execute("encrypted.txt", "decrypted.txt", 0, 1), width = 10, height = 5) #Decrypt button
        decryptModeButton.grid(row = 0, column = 2, sticky = W)
  
        myLabel = Label(self, text = "Select The Action You Wish To Undertake", font = ("Purisa", 15))
        myLabel.grid(row = 0, column = 3) 
  root = Tk()
  root.geometry("610x80")
  
  app = Window(root)   
  root.mainloop()  
  </code></pre>
  
  <p>Sorry if the answer is obvious, I have already tried <code>pack()</code>    </p>