Added test of Group with a Control that fills it.
This commit is contained in:
parent
5531866fed
commit
5a1fc98fc3
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue