diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-25 15:38:04 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-25 15:38:04 -0500 |
| commit | 8440c7a07823f8e405f03779b658f06808525081 (patch) | |
| tree | 3919960d0ed2d35830de16d39a2e8a8a7f6a7462 /main_test.go | |
| parent | dbe983037a0b3501c280e6f6ee979a8c0c9c9314 (diff) | |
Added Space() for padding layouts.
Diffstat (limited to 'main_test.go')
| -rw-r--r-- | main_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main_test.go b/main_test.go index 23a2e16..370e102 100644 --- a/main_test.go +++ b/main_test.go @@ -27,7 +27,8 @@ func TestMain(t *testing.T) { decButton := NewButton("Dec") sincdec := NewStack(Horizontal, incButton, decButton) password := NewPasswordEdit() - s0 := NewStack(Vertical, s2, c, cb1, cb2, e, s3, pbar, sincdec, password) + s0 := NewStack(Vertical, s2, c, cb1, cb2, e, s3, pbar, sincdec, Space(), password) + s0.SetStretchy(8) lb1 := NewListbox(true, "Select One", "Or More", "To Continue") lb2 := NewListbox(false, "Select", "Only", "One", "Please") i := 0 |
