diff options
| author | Jeff Carr <[email protected]> | 2021-10-28 04:10:48 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-10-28 04:10:48 -0500 |
| commit | 983a60903badac53d1418065843e0d814eb2cb67 (patch) | |
| tree | 81d70db3abe591f3dfbff8dfbe91440d549a88d9 /new-structs.go | |
| parent | 81c44bce5313d4415a0fa062ececc4547832d66d (diff) | |
NODE: almost out of the rabbit hole
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'new-structs.go')
| -rw-r--r-- | new-structs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/new-structs.go b/new-structs.go index 858d50f..8c190a3 100644 --- a/new-structs.go +++ b/new-structs.go @@ -240,12 +240,12 @@ func (parent *Node) AddTab(title string, uiC *ui.Box) *Node { uiC = hbox } tab.Append(title, uiC) - tab.SetMargined(0, true) // panic("gui.AddTab() before makeNode()") newNode := parent.makeNode(title, 555, 600 + Config.counter) newNode.uiTab = tab newNode.uiBox = uiC // panic("gui.AddTab() after makeNode()") + tabSetMargined(newNode.uiTab) return newNode } |
