From 7c3e79dcd695d717c742cb4da0f7f87d95aef7f3 Mon Sep 17 00:00:00 2001 From: Andy Williams Date: Tue, 26 Mar 2024 08:27:58 +0000 Subject: [PATCH] apply suggestion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jacob Alzén --- dialog/about.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialog/about.go b/dialog/about.go index 8f4e38b..7b755fb 100644 --- a/dialog/about.go +++ b/dialog/about.go @@ -116,7 +116,7 @@ func (u unpad) Layout(objs []fyne.CanvasObject, s fyne.Size) { pad := theme.Padding() var pos fyne.Position if u.top { - pos = fyne.NewPos(0, -pad) + pos.Y = -pad } size := s if u.top {