<-- ! SpecTcl, by S. A. Uhler -- -- Copyright (c) 1994-1995 Sun Microsystems, Inc. -- -- See the file "license.txt" for information on usage and redistribution -- of this file, and for a DISCLAIMER OF ALL WARRANTIES. --> SpecTcl Tutorial (4)

SpecTcl Tutorial - part 4

Since this dialog box has three buttons on the bottom, but two labels on top, the widgets don't align properly into columns. Three columns for the buttons would be one too many for the labels, and 2 columns for the labels would be too few for the buttons.

This dilemma is solved by inserting a sub-grid, or frame in the top row. Sub-grids allow rectangular regions of the grid to have disjoint row and/or column boundaries.


next| previous| home