app: use buttons with icons
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a859916f1c
commit
325a1ca50d
@ -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")
|
||||
}))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user