summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-09-03 18:07:27 -0400
committerPietro Gagliardi <[email protected]>2014-09-03 18:07:27 -0400
commitfcd55f7636031414a874a81c304da23aa83238e2 (patch)
tree2bb5e895be0c87f0a6add22e148dcecb0e79f1cf
parent9a2c3c4bde8accbe198e5a05ecae85e094c57043 (diff)
Accidentally left Grid expand code commented out. Fixed.
-rw-r--r--grid.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/grid.go b/grid.go
index bc6aadf..965377a 100644
--- a/grid.go
+++ b/grid.go
@@ -242,7 +242,7 @@ func (g *grid) allocate(x int, y int, width int, height int, d *sizing) (allocat
height -= rowheights[y]
}
}
-/* for x, expand := range xexpand {
+ for x, expand := range xexpand {
if expand {
colwidths[x] = width / nxexpand
}
@@ -252,7 +252,7 @@ func (g *grid) allocate(x int, y int, width int, height int, d *sizing) (allocat
rowheights[y] = height / nyexpand
}
}
-*/
+
// 4) reset the final coordinates for the next step
for i := range g.controls {
g.controls[i].finalx = 0