diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-08 23:47:06 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-08 23:47:06 -0400 |
| commit | f24e177d99a395a3b4d6782f82258631548f633a (patch) | |
| tree | 16d3ee66fb572770cd2182e2ab8bd3bffa909a6b /redo/zz_test.go | |
| parent | 21dbda72e2e75d917216a5b4e734ccd73a0719bd (diff) | |
Mostly fixed Labels on Windows being offset slightly; need to finish the fix by making it not apply to standalone Labels and adding comments.
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) |
