summaryrefslogtreecommitdiff
path: root/grid.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-19 02:56:10 -0600
committerJeff Carr <[email protected]>2024-01-19 02:56:10 -0600
commitd4891c4d58380a81275d315151c2abc58ca1f291 (patch)
treeac274458682a23dda64d2fd2e12cca00d49e2222 /grid.go
parentb15369d85df247a460f0c0c18ac9578c79ca51a3 (diff)
cleanup andlabs
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'grid.go')
-rw-r--r--grid.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/grid.go b/grid.go
index 168973a..64675a5 100644
--- a/grid.go
+++ b/grid.go
@@ -33,8 +33,8 @@ type GridOffset struct {
Y int
}
-func (n *Node) NewGrid(progname string, w int, h int) *Node {
- newNode := n.newNode(progname, widget.Grid)
+func (parent *Node) NewGrid(progname string, w int, h int) *Node {
+ newNode := parent.newNode(progname, widget.Grid)
newNode.progname = progname
newNode.W = w