summaryrefslogtreecommitdiff
path: root/textbox.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-03 16:32:01 -0500
committerJeff Carr <[email protected]>2023-04-03 16:32:01 -0500
commitefe4d11576c0dbb0b1e4189274f9908c3eb7e7c3 (patch)
tree1c83b7f1d3312ea97577c77f9f2b2bd5a4a9e072 /textbox.go
parentc14ba9d6da0a82d6cd39645764a8f9b1a88af5d4 (diff)
gocui: more size debugging
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'textbox.go')
-rw-r--r--textbox.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/textbox.go b/textbox.go
index 75703a2..f8208b9 100644
--- a/textbox.go
+++ b/textbox.go
@@ -11,9 +11,8 @@ func (n *Node) NewTextbox(name string) *Node {
var a toolkit.Action
a.ActionType = toolkit.Add
- // a.Widget = &newNode.widget
- // a.Where = &n.widget
- // action(&a)
+ a.Name = name
+ a.Text = name
newaction(&a, newNode, n)
return newNode