example: bump gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-05-03 12:24:46 +02:00
parent 060cff257f
commit d474b5b16a
7 changed files with 34 additions and 35 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ func loop(w *app.Window) error {
return e.Err
case system.FrameEvent:
gtx.Reset(e.Config, e.Size)
l := th.H1("Hello, Gio")
l := material.H1(th, "Hello, Gio")
maroon := color.RGBA{127, 0, 0, 255}
l.Color = maroon
l.Alignment = text.Middle