diff options
Diffstat (limited to 'dropdown.go')
| -rw-r--r-- | dropdown.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dropdown.go b/dropdown.go index e8cc6d9..fde6a6b 100644 --- a/dropdown.go +++ b/dropdown.go @@ -49,7 +49,7 @@ func makeDropdownView(ddItems string) *guiWidget { func addDropdown() *tree.Node { n := new(tree.Node) n.WidgetType = widget.Flag - n.WidgetId = 2222 + n.WidgetId = -222 n.ParentId = 0 // store the internal toolkit information @@ -62,7 +62,7 @@ func addDropdown() *tree.Node { tk.node.State.Label = "DropBox" // set the name used by gocui to the id - tk.cuiName = "-1 dropbox" + tk.cuiName = "-1 DR" tk.color = &colorFlag |
