summaryrefslogtreecommitdiff
path: root/newctrl/grid.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-16 16:20:09 -0400
committerPietro Gagliardi <[email protected]>2014-10-16 16:20:09 -0400
commitfa67147f5477f2cbcb0ba4dd511907ea8cda723a (patch)
tree72316404d04aae5c359fc89a7323311942170e8e /newctrl/grid.go
parent229ffd37b22c2d122fec5e668cec9e2b52b2730e (diff)
Forgot to size Grid and SimpleGrid's container properly. Fixed.
Diffstat (limited to 'newctrl/grid.go')
-rw-r--r--newctrl/grid.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/newctrl/grid.go b/newctrl/grid.go
index f8fd616..3c6f343 100644
--- a/newctrl/grid.go
+++ b/newctrl/grid.go
@@ -184,6 +184,8 @@ func (g *grid) mkgrid() (gg [][]int, colwidths []int, rowheights []int) {
}
func (g *grid) resize(x int, y int, width int, height int, d *sizing) {
+ g.container.resize(x, y, width, height, d)
+
if len(g.controls) == 0 {
// nothing to do
return