summaryrefslogtreecommitdiff
path: root/newctrl/simplegrid.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-16 16:20:50 -0400
committerPietro Gagliardi <[email protected]>2014-10-16 16:20:50 -0400
commit634ef7d4d9f96a556962167e2cd3d839f8528d5c (patch)
treeaaaa22caa350604fc98ebaad2e6424509424b3ff /newctrl/simplegrid.go
parentfa67147f5477f2cbcb0ba4dd511907ea8cda723a (diff)
More TODOs.
Diffstat (limited to 'newctrl/simplegrid.go')
-rw-r--r--newctrl/simplegrid.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/newctrl/simplegrid.go b/newctrl/simplegrid.go
index 1cc3c55..faa77c7 100644
--- a/newctrl/simplegrid.go
+++ b/newctrl/simplegrid.go
@@ -125,6 +125,7 @@ func (g *simpleGrid) resize(x int, y int, width int, height int, d *sizing) {
// 0) inset the available rect by the needed padding and reset x/y for children
width -= (len(g.colwidths) - 1) * d.xpadding
height -= (len(g.rowheights) - 1) * d.ypadding
+ // TODO get the correct client rect
x = 0
y = 0
// 1) clear data structures