summaryrefslogtreecommitdiff
path: root/box.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-06-02 12:14:20 -0700
committerJeff Carr <[email protected]>2019-06-02 12:14:20 -0700
commit74e3334492b9afbe4b619f912523f201affa7b40 (patch)
treeb2c7e32e9f4c617c502f05020d307a2736ac2264 /box.go
parent908e873d30bb3dd43cd2e010134af8c6ad8aa330 (diff)
more code cleanup
Signed-off-by: Jeff Carr <[email protected]>
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
}