Вот мой код:
Код: Выделить всё
from tkinter import *
root = Tk()
def font_size(value):
text.configure(font =("Comic Sans MS", H_Scale.get()))
print(H_Scale.get())
text = Text(root, width=10, height=10)
text.pack()
H_Scale = Scale(root, from_=1, to=72,orient=HORIZONTAL,command=font_size)
H_Scale.place(x=1, y=100)
root.geometry("400x240")
root.mainloop()
Буду признателен, если позволите мне узнайте, в чем проблема, и покажите мне решение.
Подробнее здесь: https://stackoverflow.com/questions/790 ... -font-size