diff options
| author | Jeff Carr <[email protected]> | 2024-02-22 19:27:49 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-22 19:27:49 -0600 |
| commit | 42048ba99741827972a60a88b8ad03c6a0e4e801 (patch) | |
| tree | b9df811e910233e45c1e5af7c8b7303d46002b52 /node.go | |
| parent | 2de5864fff19e2f794e85385d075aa8e4049d709 (diff) | |
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() |
