diff options
| author | Jeff Carr <[email protected]> | 2023-04-27 10:24:52 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-27 10:24:52 -0500 |
| commit | e3dbd4b2074c80cc089e54495ff2df3f94afabab (patch) | |
| tree | cf5a4ce117ad2861041df8df579027ab0d1d578e /toolkit/andlabs/add.go | |
| parent | d5d11d9ca9c69e01715d191eb63ead18d8d7ff05 (diff) | |
andlabs: more things in the binary tree
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/add.go')
| -rw-r--r-- | toolkit/andlabs/add.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/andlabs/add.go b/toolkit/andlabs/add.go index 4b2bc30..bebcfde 100644 --- a/toolkit/andlabs/add.go +++ b/toolkit/andlabs/add.go @@ -36,7 +36,7 @@ func add(a toolkit.Action) { p.newTab(n) return case toolkit.Label: - newLabel(&a) + p.newLabel(n) return case toolkit.Button: p.newButton(n) @@ -48,10 +48,10 @@ func add(a toolkit.Action) { p.newCheckbox(n) return case toolkit.Spinner: - newSpinner(&a) + p.newSpinner(n) return case toolkit.Slider: - newSlider(&a) + p.newSlider(n) return case toolkit.Dropdown: newDropdown(&a) @@ -69,7 +69,7 @@ func add(a toolkit.Action) { p.newBox(n) return case toolkit.Image: - newImage(&a) + p.newImage(n) return default: log(debugError, "add() error TODO: ", n.WidgetType, n.Name) |
