diff options
| author | Jeff Carr <[email protected]> | 2019-06-02 12:14:20 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-06-02 12:14:20 -0700 |
| commit | 74e3334492b9afbe4b619f912523f201affa7b40 (patch) | |
| tree | b2c7e32e9f4c617c502f05020d307a2736ac2264 /box.go | |
| parent | 908e873d30bb3dd43cd2e010134af8c6ad8aa330 (diff) | |
more code cleanup
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'box.go')
| -rw-r--r-- | box.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 } |
