summaryrefslogtreecommitdiff
path: root/node.go
diff options
context:
space:
mode:
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