Como mudar o tamanho da fonte da etiqueta Tkinter
Este guia tutorial demonstra como alterar o tamanho da fonte Etiqueta Tkinter. Criamos dois botões Increase e Decrease para aumentar/diminuir o tamanho da fonte da etiqueta Tkinter. Alterar o tamanho da fonte da Etiqueta de Tkinter import tkinter as tk import tkinter.font as tkFont app = tk.Tk() fontStyle = tkFont.Font(family="Lucida Grande", size=20) labelExample = tk.Label(app, text="20", font=fontStyle) def increase_label_font(): fontsize = fontStyle["size"] labelExample["text"] = fontsize + 2 fontStyle.configure(size=fontsize + 2) def decrease_label_font(): fontsize = fontStyle["size"] labelExample["text"] = fontsize - 2 fontStyle.