summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-14 17:31:21 -0500
committerPietro Gagliardi <[email protected]>2014-02-14 17:31:21 -0500
commit32256074b5404e2fe1a18dd67ca8ba93f20fd8b2 (patch)
treea63a75b425579d8732554bfb23448ace7b130284 /main.go
parent88646445b02da6be218e7059b6c0ef72ab3cf98c (diff)
More TODOs and example program tweaks.
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index f847a8b..1e571d6 100644
--- a/main.go
+++ b/main.go
@@ -16,7 +16,9 @@ func main() {
l := NewLabel("This is a label")
s0 := NewStack(Vertical, b, c, cb1, cb2, e, l)
lb := NewListbox(true, "Select One", "Or More", "To Continue")
- s := NewStack(Horizontal, lb, s0)
+ lb2 := NewListbox(false, "Select", "Only", "One", "Please")
+ s1 := NewStack(Vertical, lb2, lb)
+ s := NewStack(Horizontal, s1, s0)
err := w.Open(s)
if err != nil {
panic(err)