Tkinter and fixed-size frames

Fredrik Lundh fredrik at pythonware.com
Wed Mar 29 16:02:49 CEST 2006


"msoulier" <msoulier at gmail.com> wrote:

> Any suggestions on how to maintain the size of the frame when you pack
> a label into it like this?

calling pack_propagate(0) on the parent widget should work:

http://effbot.org/tkinterbook/pack.htm#Tkinter.Pack.pack_propagate-method

</F> 






More information about the Python-list mailing list