summaryrefslogtreecommitdiff
path: root/new-structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'new-structs.go')
-rw-r--r--new-structs.go2
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
}