diff options
| author | Jeff Carr <[email protected]> | 2023-12-16 06:57:39 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-12-16 06:57:39 -0600 |
| commit | 87ab9a958d9eb9f4db35d5c9f9ce923df3132dad (patch) | |
| tree | fd3ee29d828e9e69175a6ca04fec6ae0fe60fcc0 /toolkit/andlabs/action.go | |
| parent | dcce32583387be7fc4f6cd8c8dea62fd7dc42ecf (diff) | |
correct line hight
dump non-working size rectangle code
somehow works better
better dropdown menu debugging
minor fixes to common.go
more common code
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/action.go')
| -rw-r--r-- | toolkit/andlabs/action.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/toolkit/andlabs/action.go b/toolkit/andlabs/action.go index 2088917..29b797a 100644 --- a/toolkit/andlabs/action.go +++ b/toolkit/andlabs/action.go @@ -174,7 +174,7 @@ func (n *node) Delete() { } } -func rawAction(a toolkit.Action) { +func rawAction(a *toolkit.Action) { log(logInfo, "rawAction() START a.ActionType =", a.ActionType) log(logInfo, "rawAction() START a.S =", a.S) @@ -191,7 +191,7 @@ func rawAction(a toolkit.Action) { log(logInfo, "rawAction() START a.WidgetId =", a.WidgetId, "a.ParentId =", a.ParentId) switch a.WidgetType { case toolkit.Flag: - flag(&a) + flag(a) return } @@ -232,18 +232,18 @@ func rawAction(a toolkit.Action) { case toolkit.Disable: n.enable(false) case toolkit.Get: - n.setText(&a) + n.setText(a) case toolkit.GetText: switch a.WidgetType { case toolkit.Textbox: a.S = n.S } case toolkit.Set: - n.setText(&a) + n.setText(a) case toolkit.SetText: - n.setText(&a) + n.setText(a) case toolkit.AddText: - n.setText(&a) + n.setText(a) case toolkit.Margin: n.pad(toolkit.Unmargin) case toolkit.Unmargin: |
