summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--redraw.go4
-rw-r--r--toolkit/andlabs/common.go5
2 files changed, 9 insertions, 0 deletions
diff --git a/redraw.go b/redraw.go
index 48f1d17..d5cea53 100644
--- a/redraw.go
+++ b/redraw.go
@@ -35,6 +35,10 @@ func (n *Node) redo(plug *aplug) {
a.X = n.X
a.Y = n.Y
+ // grid stuff
+ a.AtW = n.AtW
+ a.AtH = n.AtH
+
// used for values
a.I = n.I
a.S = n.S
diff --git a/toolkit/andlabs/common.go b/toolkit/andlabs/common.go
index c8ecae1..ff157ab 100644
--- a/toolkit/andlabs/common.go
+++ b/toolkit/andlabs/common.go
@@ -38,6 +38,11 @@ func addWidget(a *toolkit.Action, tk *andlabsT) *node {
n.X = a.X
n.Y = a.Y
+ n.W = a.W
+ n.H = a.H
+ n.AtW = a.AtW
+ n.AtH = a.AtH
+
// store the internal toolkit information
n.tk = tk