diff options
| author | Jeff Carr <[email protected]> | 2024-01-16 12:55:20 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-16 12:55:20 -0600 |
| commit | ba95c13799740b5f55541fc5e8ab9f1d34f7e421 (patch) | |
| tree | 1e04c62ea4ac6a133978e14c4d33babe46f8fe1e /andlabs/button.go | |
| parent | 29c39d7a1cbc1f071fa819e589fa6ed93fcb7d80 (diff) | |
use widget.GetString()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'andlabs/button.go')
| -rw-r--r-- | andlabs/button.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/andlabs/button.go b/andlabs/button.go index 81a30c0..0cc4f52 100644 --- a/andlabs/button.go +++ b/andlabs/button.go @@ -1,6 +1,8 @@ package main import ( + "go.wit.com/gui/widget" + "go.wit.com/dev/andlabs/ui" _ "go.wit.com/dev/andlabs/ui/winmanifest" ) @@ -9,7 +11,7 @@ func (p *node) newButton(n *node) { t := p.tk newt := new(guiWidget) - b := ui.NewButton(getString(n.value)) + b := ui.NewButton(widget.GetString(n.value)) newt.uiButton = b newt.uiControl = b newt.parent = t |
