调整窗口大小时,如何使“Hi”的字体大小与窗口大小成正比?
import Tkinter
outer_window = Tkinter.Tk()
button_1 = Tkinter.Button(outer_window, text='Hi')
button_1.grid(sticky='nsew')
outer_window.columnconfigure(0, weight=1)
outer_window.rowconfigure(0, weight=1)
outer_window.mainloop()