diff options
Diffstat (limited to 'setText.go')
| -rw-r--r-- | setText.go | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -51,8 +51,15 @@ func (n *Node) SetText(text string) *Node { n.label = text case widget.Combobox: n.newString = text + n.currentS = text + n.defaultS = text case widget.Dropdown: n.newString = text + n.currentS = text + n.defaultS = text + case widget.Textbox: + n.currentS = text + n.defaultS = text case widget.Window: n.label = text default: |
