[Tkinter-discuss] can't set height in entry?

Lion Kimbro lionkimbro at gmail.com
Wed Aug 24 18:50:08 CEST 2011


  Entry's don't have height;  They only have width.

  You might be interested in a Text.

2011/8/24 守株待兔 <1248283536 at qq.com>

> when i run:
> from Tkinter import *
> root = Tk()
> Entry(root,text = 'input your text here',width = 100,height=20).pack()
> root.mainloop()
>
> tkinter.TclError: unknown option "-height"
>
> can i have a higher entry?
>
> _______________________________________________
> Tkinter-discuss mailing list
> Tkinter-discuss at python.org
> http://mail.python.org/mailman/listinfo/tkinter-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20110824/fdb4387b/attachment.html>


More information about the Tkinter-discuss mailing list