diff --git a/ui/widgets/customhyperlink.go b/ui/widgets/customhyperlink.go index 9119813..321b127 100644 --- a/ui/widgets/customhyperlink.go +++ b/ui/widgets/customhyperlink.go @@ -81,9 +81,9 @@ func NewCustomHyperlink() *CustomHyperlink { } func (c *CustomHyperlink) SetText(text string) { - c.l.Text = text lastWrapping := c.l.Wrapping c.l.Wrapping = fyne.TextWrapOff + c.l.SetText(text) c.fullTextWidth = c.l.MinSize().Width c.h.SetText(text) c.l.Wrapping = lastWrapping