summaryrefslogtreecommitdiff
path: root/setText.go
diff options
context:
space:
mode:
Diffstat (limited to 'setText.go')
-rw-r--r--setText.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/setText.go b/setText.go
index 644fe5f..c1baf88 100644
--- a/setText.go
+++ b/setText.go
@@ -16,6 +16,10 @@ func (n *Node) SetLabel(label string) *Node {
n.label = label
case widget.Button:
n.label = label
+ case widget.Combobox:
+ n.label = label
+ case widget.Dropdown:
+ n.label = label
case widget.Label:
n.label = label
case widget.Group:
@@ -49,6 +53,10 @@ func (n *Node) SetText(text string) *Node {
n.label = text
case widget.Group:
n.label = text
+ case widget.Combobox:
+ n.label = text
+ case widget.Dropdown:
+ n.label = text
case widget.Window:
n.label = text
default: