Fix #735: adjust spacing on Now Playing page card

This commit is contained in:
Drew Weymouth
2025-10-25 16:38:24 -07:00
parent 9e9aa3fc67
commit 86fd2967fc
3 changed files with 20 additions and 11 deletions
+3 -1
View File
@@ -11,6 +11,7 @@ import (
"fyne.io/fyne/v2/widget"
"github.com/dweymouth/supersonic/backend/mediaprovider"
myTheme "github.com/dweymouth/supersonic/ui/theme"
"github.com/dweymouth/supersonic/ui/util"
)
// Shows the current album art, track name, artist name, and album name
@@ -59,10 +60,11 @@ func NewLargeNowPlayingCard() *LargeNowPlayingCard {
n.rating,
layout.NewSpacer(),
)
n.Caption = container.New(layout.NewCustomPaddedVBoxLayout(theme.Padding()-13),
n.Caption = container.New(layout.NewCustomPaddedVBoxLayout(theme.Padding()-15),
n.trackName,
n.artistName,
n.albumName,
util.NewVSpace(20),
n.ratingFavoriteContainer,
)