diff options
author | xengineering <me@xengineering.eu> | 2023-02-20 21:08:11 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-02-20 21:08:11 +0100 |
commit | 21e3b2d1c43fccc5b5ba7449790e2dd2769de8f3 (patch) | |
tree | 936f0f3b99b4c84a476a274ce8b381ef9c0bfcf6 | |
parent | 2ab06fbc7f5b2ed93ee8668ac6f3ab7c1e15130c (diff) | |
download | limox-21e3b2d1c43fccc5b5ba7449790e2dd2769de8f3.tar limox-21e3b2d1c43fccc5b5ba7449790e2dd2769de8f3.tar.zst limox-21e3b2d1c43fccc5b5ba7449790e2dd2769de8f3.zip |
Adapt Gio example to LimoX
-rw-r--r-- | go/main.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |