summaryrefslogtreecommitdiff
path: root/setText.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-05 12:15:30 -0600
committerJeff Carr <[email protected]>2024-02-05 12:15:30 -0600
commit8fcf5f668b182bd382b489cd19cfdcd59628b279 (patch)
tree3f42c12d195fd9f4159cec7371d8e91fd8a2be20 /setText.go
parent47c928aaf5f5093e7681fe7841cd6a8eb4119254 (diff)
minor changes for v0.20
Signed-off-by: Jeff Carr <[email protected]>
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: