never change the ui.Tab Margined() values

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-06-04 14:09:17 -07:00
parent c227957042
commit be59e770b1
1 changed files with 1 additions and 1 deletions

2
box.go
View File

@ -24,7 +24,7 @@ func add(box *GuiBox, newbox *GuiBox) {
// TODO: allow passing where to append
// newbox.Window.UiTab.InsertAt(newbox.Name, 0, newbox.UiBox)
newbox.Window.UiTab.Append(newbox.Name, newbox.UiBox)
newbox.Window.UiTab.SetMargined(0, true)
// newbox.Window.UiTab.SetMargined(0, true)
// TODO: figure out how to make a new Tab/Window/Box here
// window := InitGuiWindow(Data.Config, newbox.Name, gw.MakeWindow, gw.UiWindow, gw.UiTab)