Autoresize in Tkinter

Jonas Bengtsson jonas.b at home.se
Tue Aug 28 16:56:59 EDT 2001


Why doesn't the text resize with the frame in this code example?

import Tkinter as Tk 
root = Tk.Tk()
t=Tk.Text(root)
t.grid(sticky=Tk.NW+Tk.SE)
t.insert(Tk.END, "test")
root.mainloop()

/Jonas B



More information about the Python-list mailing list