summaryrefslogtreecommitdiff
path: root/andlabs/widget.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-05 13:30:00 -0600
committerJeff Carr <[email protected]>2024-01-05 13:30:00 -0600
commit327e14f05154b1cfdb9af27b387cc3227cedca0d (patch)
treea040d4bd5a558e4da5a747cd8684363801864f29 /andlabs/widget.go
parentb9868cc873501e9e73c76b76a99d7b72cadab9b0 (diff)
andlabs compiles with 'go.wit.com/gui/widget'
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'andlabs/widget.go')
-rw-r--r--andlabs/widget.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/andlabs/widget.go b/andlabs/widget.go
index 71082a6..989634d 100644
--- a/andlabs/widget.go
+++ b/andlabs/widget.go
@@ -1,7 +1,7 @@
package main
import (
- "go.wit.com/gui/toolkits"
+ "go.wit.com/gui/widget"
)
// this is specific to the nocui toolkit
@@ -10,14 +10,14 @@ func initWidget(n *node) *guiWidget {
w = new(guiWidget)
// Set(w, "default")
- if n.WidgetType == toolkit.Root {
+ if n.WidgetType == widget.Root {
log(logInfo, "setupWidget() FOUND ROOT w.id =", n.WidgetId)
n.WidgetId = 0
me.rootNode = n
return w
}
- if (n.WidgetType == toolkit.Box) {
+ if (n.WidgetType == widget.Box) {
if (n.B) {
n.horizontal = true
} else {