From c4582b0b30e3020a92baf299572d8617872d45e5 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 11 Jan 2024 17:19:47 -0600 Subject: type value any Signed-off-by: Jeff Carr --- andlabs/button.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'andlabs/button.go') 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 -- cgit v1.2.3