From fcac7fd4d75b50f642fc4ebe795efda9f99dbdf9 Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Sun, 4 Jan 2026 02:45:11 -0500 Subject: [PATCH] Wrap about dialog text and allow scrolling --- main.go | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 71566ae..583b710 100644 --- a/main.go +++ b/main.go @@ -535,20 +535,25 @@ func (s *appState) showAbout() { donateURL, _ := url.Parse("https://leaktechnologies.dev/support") donateLink := widget.NewHyperlink("Support development", donateURL) + feedbackLabel := widget.NewLabel("Feedback: use the Logs button on the main menu to view logs; send issues with attached logs.") + feedbackLabel.Wrapping = fyne.TextWrapWord + mainContent := container.NewVBox( versionText, devText, logsLink, donateLink, - widget.NewLabel("Feedback: use the Logs button on the main menu to view logs; send issues with attached logs."), + feedbackLabel, ) + scrollContent := container.NewVScroll(mainContent) + scrollContent.SetMinSize(fyne.NewSize(420, 220)) var body fyne.CanvasObject if ltLogo != nil { topRow := container.NewHBox(layout.NewSpacer(), ltLogo) - body = container.NewBorder(topRow, nil, nil, nil, mainContent) + body = container.NewBorder(topRow, nil, nil, nil, scrollContent) } else { - body = mainContent + body = scrollContent } dialog.ShowCustom("About & Support", "Close", body, s.window) }