This is not necessarily the current version of this TIP.
|Title:||Add Overall Anchoring to the Grid Geometry Manager|
|Version:||$Revision: 1.8 $|
|Author:||Peter Spjuth <peter dot spjuth at space dot se>|
|Created:||Tuesday, 05 August 2003|
This TIP proposes to add an anchor option to grid managers to control the behaviour of a grid where all weights are zero.
Have you ever found yourself adding "-weight" to an unused row or column in a grid? That is usually the workaround to use when you have no "-weight" on any column but you don't want things to sit in the middle of the grid when the window is grown.
By adding an anchor option it lets the code directly reflect the intention of the programmer and it makes the code more maintainable since you can add and remove columns without having to update the dummy weight.
When growing a grid, the behaviour is rather simple. Follow the weights and when 0, follow the anchor.