From 634ef7d4d9f96a556962167e2cd3d839f8528d5c Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 16 Oct 2014 16:20:50 -0400 Subject: [PATCH] More TODOs. --- newctrl/simplegrid.go | 1 + 1 file changed, 1 insertion(+) 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