FAQ
I was having problems where the sticky option in grid() didn't seem to
move widgets out of the middle of the cell they were in. Turns out the
reason was Tkinter default behavior is to determine column/row width
based on the size of the widget that is contained, NOT based on the
width of the master divided by the number of rows/columns.

This seemed wierd to me, e.g., why, if I had a single cell in one frame
(one row and one column only), should that cell not fill the entire
frame? Anyways, the answer for me seems to always be to set the weight
of the columns/rows to 1 (assuming I want equal widths).

I'm posting this in the hopes that it helps out other newbies.

Thanks,

Gabe Newcomb
Software Test Automation Engineer
425.372.2732
Noetix Corporation
www.noetix.com

after years of waiting, nothing came

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedJul 26, '02 at 6:03p
activeJul 26, '02 at 6:03p
posts1
users1
websitepython.org

1 user in discussion

Gabe Newcomb: 1 post

People

Translate

site design / logo © 2022 Grokbase