summaryrefslogtreecommitdiff
path: root/node.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-21 14:44:47 -0600
committerJeff Carr <[email protected]>2024-01-21 14:44:47 -0600
commit1fdf786a72fd4af0c1acca45b250b5f66ef3e31b (patch)
tree0f247e40f69c8bdce56574a3b608c78955b6b447 /node.go
parentba70be3064c1d082eb0e9146562b7f07dd894fb0 (diff)
visable state is honored. TODO: fix hide/show
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'node.go')
-rw-r--r--node.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/node.go b/node.go
index bb26656..4b056fb 100644
--- a/node.go
+++ b/node.go
@@ -29,7 +29,8 @@ func (n *Node) newNode(title string, t widget.WidgetType) *Node {
// set these defaults
newN.expand = false
- newN.visable = true
+ // honor the visable settings of the parent
+ newN.visable = n.visable
newN.pad = true
newN.borderless = false