clean up button and tab names

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-06-03 13:58:33 -07:00
parent 8387d37db8
commit 2233089565
2 changed files with 16 additions and 9 deletions

View File

@ -9,7 +9,8 @@ func makeCloudInfoBox(gw *gui.GuiWindow) {
log.Println("makeCloudInfoBox() START gw =", gw)
gw = gui.InitGuiWindow("makeCloudInfoBox() Box23", gw)
box := gui.HardBox(gw, gui.Yaxis, "makeCloudInfoBox")
// TODO: make this text i18n
box := gui.HardBox(gw, gui.Yaxis, "Cloud Accounts")
log.Println("makeCloudInfoBox() START GW IS NOW: gw =", gw)
log.Println("makeCloudInfoBox() box =", box)
@ -38,8 +39,9 @@ func makeCloudInfoBox(gw *gui.GuiWindow) {
makeButton(vbox, config.Accounts[key], nil, name, "SHOW", nil)
}
makeButton(box, nil, nil, "Add Account", "ADD TAB", addSubdomainClick)
makeButton(box, nil, nil, "Quit", "QUIT", nil)
makeButton(box, nil, nil, "Debug", "DEBUG", debugClick)
Xbox := gui.HardBox(gw, gui.Xaxis, "subdomain test")
makeButton(Xbox, nil, nil, "Add Account", "ADD TAB", addSubdomainClick)
makeButton(Xbox, nil, nil, "Quit", "QUIT", nil)
makeButton(Xbox, nil, nil, "Debug", "DEBUG", debugClick)
log.Println("makeCloudInfoBox() END")
}

View File

@ -77,14 +77,19 @@ func splashClick(b *gui.GuiButton) {
// gw.UiTab.Hide() // Hide or Delete ?
gw.UiTab.Delete(0) // does this make things more or less stable or neither?
box := gui.HardBox(gw, gui.Yaxis, "addSubdomainQuestion")
box := gui.HardBox(gw, gui.Yaxis, "Create New Account")
// make a place for someone to enter their subdomain
// gui.NewLabel(box, "Enter your Subdomain or")
makeButton(box, nil, nil, "Generate a Subdomain", "SUBDOMAIN", generateSubdomain)
hardXbox := gui.HardBox(gw, gui.Xaxis, "subdomain test")
makeButton(hardXbox, nil, nil, "Generate a Subdomain", "SUBDOMAIN", generateSubdomain)
gui.NewLabel(hardXbox, "")
gui.AddEntry(box, "SUBDOMAIN")
gui.HorizontalBreak(box)
makeButton(box, nil, nil, "Create Account", "ADD", addSubdomainClick)
// gui.HorizontalBreak(box)
hardXbox1 := gui.HardBox(gw, gui.Xaxis, "subdomain test")
makeButton(hardXbox1, nil, nil, "Create Account", "ADD", addSubdomainClick)
gui.NewLabel(hardXbox, "")
log.Println("splashClick() END box =", box)
}