Mega Code Archive
Categories
/
Python
/
GUI Tk
Button width and height
from Tkinter import * widget = Button(text='Spam', padx=50, pady=10) widget.pack(padx=20, pady=20) mainloop()