Tkinter and the re/sizing of columns in a grid

noman at cyclops.org noman at cyclops.org
Sat Nov 12 11:26:12 EST 2005


I'm using grid() to lay out a column of Labels and a column of Entries
in a frame. If the user changes an Entry so that it's bigger than its
allotted space, i'd like to widen that column to show the entire
string. I've tried <parentFrame>.columnconfigure(1, minsize=newSize),
but that doesn't change anything. I'm obviously missing something. How
should i go about this?

More generally, can anyone point me to info on how to do calculated
sizing and resizing of grids?

thanks,
Eric

-- 
A strong smell of turpentine prevails throughout.
                       -- Dr. Oliver Wendell Holmes



More information about the Python-list mailing list