summaryrefslogtreecommitdiff
path: root/grid.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-26 00:07:09 -0500
committerJeff Carr <[email protected]>2023-04-26 00:07:09 -0500
commit4b9b381bcf02c212d72f55d4738943941e843250 (patch)
tree60932c0fe675d477357318eb3d2de5e2b3a5c09d /grid.go
parent435b75b6e841ae981f6a98d2a0aaaafaedc2e170 (diff)
gocui: more spacing logic
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 0a6e0ce..4ece4d2 100644
--- a/grid.go
+++ b/grid.go
@@ -27,8 +27,8 @@ func (n *Node) NewGrid(name string, w int, h int) *Node {
a.Text = name
a.X = w
a.Y = h
- a.Width = w
- a.Height = h
+ // a.Width = w
+ // a.Height = h
newNode.X = w
newNode.Y = h
newNode.NextX = 1