Python: Adjusting Text Size in a Button

32 Views Asked by At

I'm making a simple GUI with TKinter. I use this code to create a button with some text labelling it:

myButton_multiply = Button(root, text="*", padx=44, pady=20, bg="#7FFFD4", fg="green", command=button_multiply)
myButton_multiply.grid(row=5, column=0)

The text was smaller than I wanted, so I tried changing the size of the text by using font(). However, when I do this, the button's size changes as well. How can I resize the text label while leaving the button the same size?

0

There are 0 best solutions below