How to increase the font size of a Text widget?
There are several ways to specify a font: the simplest is a tuple of the form (family, size, style)
.
import Tkinter as tk
root=tk.Tk()
text=tk.Text(width = 40, height=4, font=("Helvetica", 32))
text.pack()
root.mainloop()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With