summaryrefslogtreecommitdiff
path: root/zz_test.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-31 13:02:47 -0400
committerPietro Gagliardi <[email protected]>2014-08-31 13:02:47 -0400
commit2c4eecc9c3ec60f2c2aa709e22cd1fe600caa028 (patch)
tree17a61485f4d4f87f5b994e3e2f799ac0bcbb6fac /zz_test.go
parent16c2e18949cb7f3594410cb80400ebac540a50a0 (diff)
Changed Grid to SimpleGrid in preparation for a better Grid.
Diffstat (limited to 'zz_test.go')
-rw-r--r--zz_test.go12
1 files changed, 6 insertions, 6 deletions
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())