diff options
Diffstat (limited to 'node.go')
| -rw-r--r-- | node.go | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -71,6 +71,13 @@ func (parent *Node) Append(n *Node) { parent.children = append(parent.children, n) n.parent = parent + if n.IsMirror() { + m := n.isMirror + text := m.label + n.label = text + n.progname = text + } + // if the parent is a grid, add it to the next cell if parent.WidgetType == widget.Grid { parent.gridIncrement() |
