From fcd55f7636031414a874a81c304da23aa83238e2 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 3 Sep 2014 18:07:27 -0400 Subject: [PATCH] Accidentally left Grid expand code commented out. Fixed. --- grid.go | 4 ++-- 1 file 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