From 325a1ca50dfc064c70c45bbb47f36d62c54d53fd Mon Sep 17 00:00:00 2001 From: surtur Date: Wed, 25 May 2022 18:59:13 +0200 Subject: [PATCH] app: use buttons with icons --- xkcdreader/app.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xkcdreader/app.go b/xkcdreader/app.go index 19a445d..67c8bf7 100644 --- a/xkcdreader/app.go +++ b/xkcdreader/app.go @@ -90,13 +90,13 @@ func makeBrowseUI() *fyne.Container { // container for the image and surrounding elements imgC := container.New( layout.NewHBoxLayout(), - widget.NewButton("previous", func() { + widget.NewButtonWithIcon("", theme.NavigateBackIcon(), func() { log.Println("Previous comic") }), layout.NewSpacer(), widget.NewLabel("img placeholder"), layout.NewSpacer(), - widget.NewButton("next", func() { + widget.NewButtonWithIcon("", theme.NavigateNextIcon(), func() { log.Println("Next comic") }))