mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-02 07:57:29 +00:00
example: bump gio version
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -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)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user