diff options
| author | Pietro Gagliardi <[email protected]> | 2014-09-01 10:04:48 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-09-01 10:04:48 -0400 |
| commit | dcb505fd01b5fb5c527f3376154c8d970a67789c (patch) | |
| tree | 29d2e49b68d914fca578bb9ac64e83f0b9b09d94 /grid.go | |
| parent | 91e35c161079a16f2cb687818a01c0426df8c718 (diff) | |
Implemented Grid halign Center.
Diffstat (limited to 'grid.go')
| -rw-r--r-- | grid.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -251,7 +251,7 @@ func (g *grid) allocate(x int, y int, width int, height int, d *sizing) (allocat case LeftTop: // do nothing; this is the default case Center: - // TODO + cell.xoff = (colwidths[cell.gridx] - cell.width) / 2 case RightBottom: cell.xoff = colwidths[cell.gridx] - cell.width case Fill: |
