summaryrefslogtreecommitdiff
path: root/andlabs/button.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-11 17:19:47 -0600
committerJeff Carr <[email protected]>2024-01-11 17:19:47 -0600
commitc4582b0b30e3020a92baf299572d8617872d45e5 (patch)
treec678b4f165bf4db0d9975df4b360925e8e9930ca /andlabs/button.go
parent4bf330767195a00de7fc0538228bcf0305143434 (diff)
type value any
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'andlabs/button.go')
-rw-r--r--andlabs/button.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/andlabs/button.go b/andlabs/button.go
index 0dcb0e5..675fad5 100644
--- a/andlabs/button.go
+++ b/andlabs/button.go
@@ -9,7 +9,7 @@ func (p *node) newButton(n *node) {
t := p.tk
newt := new(guiWidget)
- b := ui.NewButton(n.Text)
+ b := ui.NewButton(getString(n.value))
newt.uiButton = b
newt.uiControl = b
newt.parent = t