summaryrefslogtreecommitdiff
path: root/treeAdd.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-06 07:01:27 -0600
committerJeff Carr <[email protected]>2025-02-06 07:01:27 -0600
commitc136ca2b4c33ae639af0f62f604ecdf73ea38d3e (patch)
tree645a5073e7a17a256e4b1185dd4a5b65679e3dfc /treeAdd.go
parent87141b8d990e42bcc65174a43cbd17f0578fe274 (diff)
tab rotates through the windows
Diffstat (limited to 'treeAdd.go')
-rw-r--r--treeAdd.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/treeAdd.go b/treeAdd.go
index fba7252..078d625 100644
--- a/treeAdd.go
+++ b/treeAdd.go
@@ -71,6 +71,11 @@ func addWidget(n *tree.Node) {
case widget.Dropdown:
nw.color = &colorDropdown
return
+ case widget.Textbox:
+ n.State.Label = "TEXTBOX"
+ nw.labelN = " " + n.State.Label
+ nw.color = &colorDropdown
+ return
case widget.Combobox:
nw.color = &colorCombobox
return