diff options
Diffstat (limited to 'redo/zz_test.go')
| -rw-r--r-- | redo/zz_test.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/redo/zz_test.go b/redo/zz_test.go index b439b34..85c0b4a 100644 --- a/redo/zz_test.go +++ b/redo/zz_test.go @@ -32,6 +32,7 @@ var ddata = []dtype{ type testwin struct { t Tab w Window + grid Grid nt Tab a Area spw Stack @@ -68,6 +69,14 @@ func (tw *testwin) make(done chan struct{}) { done <- struct{}{} return true }) + tw.grid = NewGrid(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.t.Append("Blank Tab", NewTab()) tw.nt = NewTab() tw.nt.Append("Tab 1", Space()) |
