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") {
|
if (state == "splash") {
|
||||||
log.Println("Display the splash box")
|
log.Println("Display the splash box")
|
||||||
smallBox = account1.AddAccountBox(nil, splashClose)
|
smallBox = account1.AddAccountBox(nil, splashClose)
|
||||||
cloudTab.Append("Intro", smallBox)
|
cloudTab.InsertAt("Intro", 1, smallBox)
|
||||||
cloudTab.SetMargined(0, true)
|
cloudTab.SetMargined(0, true)
|
||||||
// newbox.SetPadded(true)
|
// newbox.SetPadded(true)
|
||||||
state = "done"
|
state = "done"
|
||||||
|
@ -79,7 +79,7 @@ func watchGUI() {
|
||||||
|
|
||||||
func makeCloudWindow() {
|
func makeCloudWindow() {
|
||||||
cloudWindow := ui.NewWindow("", 640, 480, true)
|
cloudWindow := ui.NewWindow("", 640, 480, true)
|
||||||
cloudWindow.SetBorderless(true)
|
// cloudWindow.SetBorderless(true)
|
||||||
cloudWindow.OnClosing(func(*ui.Window) bool {
|
cloudWindow.OnClosing(func(*ui.Window) bool {
|
||||||
ui.Quit()
|
ui.Quit()
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in New Issue