make the button add the tab

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-22 17:28:24 -07:00
parent 88040fe6fa
commit f98164e2fc
1 changed files with 5 additions and 2 deletions

View File

@ -39,7 +39,10 @@ func main() {
}
func buttonClick(i int, s string) {
log.Println("buttonClick() i, s =", i, s)
log.Println("test2 buttonClick() i, s =", i, s)
smallBox = account1.AddAccountBox(nil, splashClose)
cloudTab.InsertAt("Intro", 1, smallBox)
cloudTab.SetMargined(0, true)
}
func watchGUI() {
@ -104,5 +107,5 @@ func makeCloudWindow() {
cloudTab.SetMargined(0, true)
cloudWindow.Show()
state = "splash"
// state = "done"
}