From 88040fe6fa23e4511ec5b516df68a2e3f711135f Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 22 May 2019 17:20:53 -0700 Subject: [PATCH] use InsertAt() instead of Append() Signed-off-by: Jeff Carr --- test2/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test2/main.go b/test2/main.go index ac1fb10..48d2953 100644 --- a/test2/main.go +++ b/test2/main.go @@ -53,7 +53,7 @@ func watchGUI() { if (state == "splash") { log.Println("Display the splash box") smallBox = account1.AddAccountBox(nil, splashClose) - cloudTab.Append("Intro", smallBox) + cloudTab.InsertAt("Intro", 1, smallBox) cloudTab.SetMargined(0, true) // newbox.SetPadded(true) state = "done" @@ -79,7 +79,7 @@ func watchGUI() { func makeCloudWindow() { cloudWindow := ui.NewWindow("", 640, 480, true) - cloudWindow.SetBorderless(true) + // cloudWindow.SetBorderless(true) cloudWindow.OnClosing(func(*ui.Window) bool { ui.Quit() return true