move HSpace to util package

This commit is contained in:
Drew Weymouth
2023-03-14 10:21:22 -07:00
parent 8c6b2fa789
commit 26c6ee7ac8
8 changed files with 33 additions and 35 deletions
+2 -2
View File
@@ -186,8 +186,8 @@ func NewAlbumPageHeader(page *AlbumPage) *AlbumPageHeader {
container.NewVBox(
container.New(&layouts.VboxCustomPadding{ExtraPad: -12}, a.artistLabel, a.genreLabel, a.miscLabel),
container.NewVBox(
container.NewHBox(widgets.NewHSpace(2), playButton, shuffleBtn),
container.NewHBox(widgets.NewHSpace(2), a.toggleFavButton),
container.NewHBox(util.NewHSpace(2), playButton, shuffleBtn),
container.NewHBox(util.NewHSpace(2), a.toggleFavButton),
),
),
),