example: bump gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-05-11 11:32:45 +02:00
parent c32b3fe43a
commit 73475270fe
3 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -164,7 +164,9 @@ func (b iconAndTextButton) Layout(gtx *layout.Context, button *widget.Button, ic
layLabel := layout.Rigid(func() {
layout.Inset{Left: textIconSpacer}.Layout(gtx, func() {
widget.Label{}.Layout(gtx, b.theme.Shaper, text.Font{}, b.theme.TextSize, word)
l := material.Body1(b.theme, word)
l.Color = b.theme.Color.InvText
l.Layout(gtx)
})
})