diff --git a/widget/material/button.go b/widget/material/button.go index 28c4bc43..194518a8 100644 --- a/widget/material/button.go +++ b/widget/material/button.go @@ -86,7 +86,7 @@ func (b Button) Layout(gtx *layout.Context, button *widget.Button) { Color: b.Color, Inset: b.Inset, }.Layout(gtx, button, func() { - widget.Label{}.Layout(gtx, b.shaper, b.Font, b.TextSize, b.Text) + widget.Label{Alignment: text.Middle}.Layout(gtx, b.shaper, b.Font, b.TextSize, b.Text) }) }