Skip to content

Commit

Permalink
Refresh button text correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Jul 26, 2021
1 parent d1c0cb4 commit 4b6732b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions widget/button.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ func (r *buttonRenderer) updateIconAndText() {
} else {
r.label.Show()
}
r.label.Refresh()
}

func alignedPosition(align ButtonAlign, padding, objectSize, layoutSize fyne.Size) (pos fyne.Position) {
Expand Down

0 comments on commit 4b6732b

Please sign in to comment.