diff --git a/apps/go.mod b/apps/go.mod index aaad20c4..0e9fa8bb 100644 --- a/apps/go.mod +++ b/apps/go.mod @@ -3,7 +3,7 @@ module gioui.org/apps go 1.12 require ( - gioui.org/ui v0.0.0-20190627104415-ef9384ceee43 + gioui.org/ui v0.0.0-20190701113654-d720fa62331a github.com/google/go-github/v24 v24.0.1 golang.org/x/exp v0.0.0-20190321205749-f0864edee7f3 golang.org/x/image v0.0.0-20190321063152-3fc05d484e9f diff --git a/apps/gophers/main.go b/apps/gophers/main.go index b01e418b..5ea5d242 100644 --- a/apps/gophers/main.go +++ b/apps/gophers/main.go @@ -264,6 +264,8 @@ func newApp(w *app.Window) *App { Face: a.face(fonts.italic, 14), //Alignment: text.End, SingleLine: true, + Hint: "Hint", + HintImage: &image.Uniform{tertTextColor}, } a.edit2.SetText("Single line editor. Edit me!") a.edit = &text.Editor{