From 0f6d803fa4b249b9a63a2cec136e87ef892d8728 Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Tue, 2 May 2023 17:56:17 -0700 Subject: [PATCH] fix regression where similar artist links were shrinked to zero --- ui/widgets/customhyperlink.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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