summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-14 15:12:03 -0500
committerPietro Gagliardi <[email protected]>2014-02-14 15:12:03 -0500
commit9070eae214fd8054bc888f61adbea7d6749dc71b (patch)
treebe3bedde74a97862c92db2bdbfb475948a279cf3 /main.go
parent681afdf0adfc42c64cf5dd898ec17988a31f9cb7 (diff)
Added labels.
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index e541bd4..2cdff5b 100644
--- a/main.go
+++ b/main.go
@@ -13,7 +13,8 @@ func main() {
cb1 := NewCombobox(true, "You can edit me!", "Yes you can!", "Yes you will!")
cb2 := NewCombobox(false, "You can't edit me!", "No you can't!", "No you won't!")
e := NewLineEdit("Enter text here too")
- s := NewStack(Vertical, b, c, cb1, cb2, e)
+ l := NewLabel("This is a label")
+ s := NewStack(Vertical, b, c, cb1, cb2, e, l)
err := w.Open(s)
if err != nil {
panic(err)