diff options
| -rw-r--r-- | setText.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -48,13 +48,13 @@ func (n *Node) SetText(text string) *Node { switch n.WidgetType { case widget.Checkbox: - n.label = text + n.SetLabel(text) case widget.Button: - n.label = text + n.SetLabel(text) case widget.Label: - n.label = text + n.SetLabel(text) case widget.Group: - n.label = text + n.SetLabel(text) case widget.Combobox: n.newString = text n.currentS = text |
