This is not necessarily the current version of this TIP.
|Title:||Uniform Rows and Columns in Grid|
|Version:||$Revision: 1.1 $|
|Author:||Peter Spjuth <peter dot spjuth at space dot se>|
|Created:||Tuesday, 19 June 2001|
This TIP proposes to add a -uniform option to grid rowconfigure and grid columnconfigure so as to make it easier to create layouts where cells are constrained to have identical dimensions.
The geometry managers in Tk are very powerful and can do most things needed to layout a GUI. One thing that is tricky to do though is to put widgets in rows or columns of the same width. This would be useful for example to layout a row of buttons symmetrically. This could easily be done with the grid manager if an additional option is added.
Anywhere column is used below, the same applies to row too.
A new option, -uniform, is added to grid columnconfigure. The option takes an arbitrary string, the default value being the empty string. Any colu