summaryrefslogtreecommitdiff
path: root/grid.go
diff options
context:
space:
mode:
Diffstat (limited to 'grid.go')
-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