diff options
-rw-r--r-- | go/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -93,12 +93,14 @@ func (l *Limox) draw(e system.FrameEvent) { layout.Rigid( func(gtx layout.Context) layout.Dimensions { jid := material.Editor(l.Theme, &l.JidEditor, "user@example.com") + jid.Editor.Alignment = text.Middle return jid.Layout(gtx) }, ), layout.Rigid( func(gtx layout.Context) layout.Dimensions { pwd := material.Editor(l.Theme, &l.PwdEditor, "mySafePassword") + pwd.Editor.Alignment = text.Middle pwd.Editor.Mask = '*' return pwd.Layout(gtx) }, |