From 21e3b2d1c43fccc5b5ba7449790e2dd2769de8f3 Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 20 Feb 2023 21:08:11 +0100 Subject: Adapt Gio example to LimoX --- go/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'go/main.go') diff --git a/go/main.go b/go/main.go index 5c4c213..ab6c7fb 100644 --- a/go/main.go +++ b/go/main.go @@ -16,7 +16,7 @@ import ( func main() { go func() { - w := app.NewWindow() + w := app.NewWindow(app.Title("LimoX")) err := run(w) if err != nil { log.Fatal(err) @@ -37,8 +37,8 @@ func run(w *app.Window) error { case system.FrameEvent: gtx := layout.NewContext(&ops, e) - title := material.H1(th, "Hello, Gio") - maroon := color.NRGBA{R: 127, G: 0, B: 0, A: 255} + title := material.H1(th, "disconnected") + maroon := color.NRGBA{R: 0, G: 212, B: 0, A: 255} title.Color = maroon title.Alignment = text.Middle title.Layout(gtx) -- cgit v1.2.3-70-g09d2