use InsertAt() instead of Append()
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
3367793ea5
commit
88040fe6fa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue