From 2c4eecc9c3ec60f2c2aa709e22cd1fe600caa028 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 31 Aug 2014 13:02:47 -0400 Subject: Changed Grid to SimpleGrid in preparation for a better Grid. --- zz_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'zz_test.go') diff --git a/zz_test.go b/zz_test.go index 16af837..729e253 100644 --- a/zz_test.go +++ b/zz_test.go @@ -48,7 +48,7 @@ type testwin struct { icontbl Table group2 Group group Group - grid Grid + simpleGrid SimpleGrid nt Tab a Area spw Stack @@ -171,14 +171,14 @@ func (tw *testwin) make(done chan struct{}) { tw.t.Append("Filled Group", tw.group2) tw.group = NewGroup("Group", NewVerticalStack(NewCheckbox("Checkbox in Group"))) tw.t.Append("Group", tw.group) - tw.grid = NewGrid(3, + tw.simpleGrid = NewSimpleGrid(3, NewLabel("0,0"), NewTextField(), NewLabel("0,2"), NewButton("1,0"), NewButton("1,1"), NewButton("1,2"), NewLabel("2,0"), NewTextField(), NewStandaloneLabel("2,2")) - tw.grid.SetFilling(2, 1) - tw.grid.SetFilling(1, 2) - tw.grid.SetStretchy(1, 1) - tw.t.Append("Grid", tw.grid) + tw.simpleGrid.SetFilling(2, 1) + tw.simpleGrid.SetFilling(1, 2) + tw.simpleGrid.SetStretchy(1, 1) + tw.t.Append("Simple Grid", tw.simpleGrid) tw.t.Append("Blank Tab", NewTab()) tw.nt = NewTab() tw.nt.Append("Tab 1", Space()) -- cgit v1.2.3