summaryrefslogtreecommitdiff
path: root/grid.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-25 19:05:01 -0500
committerPietro Gagliardi <[email protected]>2014-02-25 19:05:01 -0500
commitd55b2a9d18f1e92ebe1e70b3b3e49ed3a6a872b8 (patch)
tree8453f27a82476dc8648d0d720aae8f1235d41c81 /grid.go
parentc6cafdd402b395edadc6194a77889d84814e5f92 (diff)
Fixed up Grid and Space() documentation.
Diffstat (limited to 'grid.go')
-rw-r--r--grid.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/grid.go b/grid.go
index 1cea202..78d1f2e 100644
--- a/grid.go
+++ b/grid.go
@@ -9,7 +9,9 @@ import (
// A Grid arranges Controls in a two-dimensional grid.
// All Controls in a Grid maintain their preferred sizes.
// The height of each row and the width of each column is the maximum preferred height and width (respectively) of all the controls in that row or column (respectively).
+// Controls are aligned to the top left corner of each cell.
// Unlike other UI toolkit Grids, this Grid does not (yet?) allow Controls to span multiple rows or columns.
+// TODO differnet row/column control alignment; stretchy controls or other resizing options
type Grid struct {
lock sync.Mutex
created bool