app: use buttons with icons
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-05-25 18:59:13 +02:00
parent a859916f1c
commit 325a1ca50d
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -90,13 +90,13 @@ func makeBrowseUI() *fyne.Container {
// container for the image and surrounding elements // container for the image and surrounding elements
imgC := container.New( imgC := container.New(
layout.NewHBoxLayout(), layout.NewHBoxLayout(),
widget.NewButton("previous", func() { widget.NewButtonWithIcon("", theme.NavigateBackIcon(), func() {
log.Println("Previous comic") log.Println("Previous comic")
}), }),
layout.NewSpacer(), layout.NewSpacer(),
widget.NewLabel("img placeholder"), widget.NewLabel("img placeholder"),
layout.NewSpacer(), layout.NewSpacer(),
widget.NewButton("next", func() { widget.NewButtonWithIcon("", theme.NavigateNextIcon(), func() {
log.Println("Next comic") log.Println("Next comic")
})) }))