summaryrefslogtreecommitdiff
path: root/box.go
diff options
context:
space:
mode:
Diffstat (limited to 'box.go')
-rw-r--r--box.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/box.go b/box.go
index a8c2c46..61ea46e 100644
--- a/box.go
+++ b/box.go
@@ -167,8 +167,8 @@ func CreateGenericBox(gw *GuiWindow, b *GuiButton, name string) *GuiBox{
hbox.SetPadded(true)
vbox.Append(hbox, false)
- AddBoxToTab(name, gw.UiTab, vbox)
-
+ gw.UiTab.Append(name, vbox)
+ gw.UiTab.SetMargined(0, true)
return box
}
@@ -196,7 +196,7 @@ func CreateBox(gw *GuiWindow, name string) *GuiBox {
box.UiBox = hboxAccount
- AddBoxToTab(name, gw.UiTab, vbox)
-
+ gw.UiTab.Append(name, vbox)
+ gw.UiTab.SetMargined(0, true)
return box
}