diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-14 15:12:03 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-14 15:12:03 -0500 |
| commit | 9070eae214fd8054bc888f61adbea7d6749dc71b (patch) | |
| tree | be3bedde74a97862c92db2bdbfb475948a279cf3 /main.go | |
| parent | 681afdf0adfc42c64cf5dd898ec17988a31f9cb7 (diff) | |
Added labels.
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |
