summaryrefslogtreecommitdiff
path: root/main_test.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-25 15:38:04 -0500
committerPietro Gagliardi <[email protected]>2014-02-25 15:38:04 -0500
commit8440c7a07823f8e405f03779b658f06808525081 (patch)
tree3919960d0ed2d35830de16d39a2e8a8a7f6a7462 /main_test.go
parentdbe983037a0b3501c280e6f6ee979a8c0c9c9314 (diff)
Added Space() for padding layouts.
Diffstat (limited to 'main_test.go')
-rw-r--r--main_test.go3
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