From 9070eae214fd8054bc888f61adbea7d6749dc71b Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 14 Feb 2014 15:12:03 -0500 Subject: Added labels. --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main.go') 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) -- cgit v1.2.3