summaryrefslogtreecommitdiff
path: root/dropdown.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-31 12:08:13 -0600
committerJeff Carr <[email protected]>2025-01-31 13:47:45 -0600
commit5b39848b6448c8b95764bd42146e4e13b469876e (patch)
tree358aa0540d159ea4233e82977c656afb874d1162 /dropdown.go
parentbbdf7fefbd9d812b4db575a57d9d159d68921f7f (diff)
more helpful and easier to read debugging output
Diffstat (limited to 'dropdown.go')
-rw-r--r--dropdown.go4
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