diff options
| author | Pietro Gagliardi <[email protected]> | 2014-09-03 18:07:27 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-09-03 18:07:27 -0400 |
| commit | fcd55f7636031414a874a81c304da23aa83238e2 (patch) | |
| tree | 2bb5e895be0c87f0a6add22e148dcecb0e79f1cf | |
| parent | 9a2c3c4bde8accbe198e5a05ecae85e094c57043 (diff) | |
Accidentally left Grid expand code commented out. Fixed.
| -rw-r--r-- | grid.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
