Q:

Changing the size of a button widget in Tkinter

I can't seem to resize a button I'm trying to make on tkinter, this is my first time using tkinter so I don't know too much, is this how it is meant to be done or is there a better or easier way? Whenever i try to run the code it says tkinter.tclerror unknown option "-height", the code I'm using is below. Thanks
from tkinter.ttk import *
...
myButton = Button(gui, text="Continue", height = 100, width = 100)
myButton.grid(row=10, column=2)

A:

Probably you use the ttk.Button instead of tkinter.Button (ttk one doesn't have height and width parameters).
I have written an example for you.
Code:
import tkinter as tk  # Should use the tkinter module

root = tk.Tk()

original = tk.Button(root, text="Original")
original.grid(row=1, column=1)

resized = tk.Button(root, text="Resized", height=20, width=20)
resized.grid(row=2, column=1)

tk.mainloop()

GUI:

Note:
Here is a ttk.Button resizing related SO question: Changing ttk Button Height in Python

