diff options
Diffstat (limited to 'redo/zz_test.go')
| -rw-r--r-- | redo/zz_test.go | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/redo/zz_test.go b/redo/zz_test.go index 61a7ca2..59f577b 100644 --- a/redo/zz_test.go +++ b/redo/zz_test.go @@ -87,15 +87,17 @@ func (tw *testwin) make(done chan struct{}) { NewTextField(), NewPasswordField(), NewTable(reflect.TypeOf(struct{A,B,C int}{})), - NewStandaloneLabel("hello")) + NewStandaloneLabel("hello ÉÀÔ")) tw.t.Append("Pref Height", tw.sph) stack1 := NewHorizontalStack(NewLabel("Test"), NewTextField()) stack1.SetStretchy(1) - stack2 := NewHorizontalStack(NewLabel("Test 2"), - NewTable(reflect.TypeOf(struct{A,B,C int}{}))) + stack2 := NewHorizontalStack(NewLabel("ÉÀÔ"), NewTextField()) stack2.SetStretchy(1) - tw.s = NewVerticalStack(stack1, stack2) - tw.s.SetStretchy(1) + stack3 := NewHorizontalStack(NewLabel("Test 2"), + NewTable(reflect.TypeOf(struct{A,B,C int}{}))) + stack3.SetStretchy(1) + tw.s = NewVerticalStack(stack1, stack2, stack3) + tw.s.SetStretchy(2) tw.t.Append("Stack", tw.s) tw.l = NewStandaloneLabel("hello") tw.t.Append("Label", tw.l) |
