From 5a1fc98fc3b7c78f4c5192be4f6eba4b70d729d1 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 15 Aug 2014 22:59:45 -0400 Subject: [PATCH] Added test of Group with a Control that fills it. --- redo/zz_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/redo/zz_test.go b/redo/zz_test.go index 568f398..13d3d06 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 + group2 Group group Group grid Grid nt Tab @@ -70,6 +71,8 @@ func (tw *testwin) make(done chan struct{}) { done <- struct{}{} return true }) + tw.group2 = NewGroup("Group", NewButton("Button in Group")) + 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,