quick fix
This commit is contained in:
@@ -128,7 +128,6 @@ func NewPlaylistPageHeader(page *PlaylistPage) *PlaylistPageHeader {
|
|||||||
page.onPlayTrackAt(0)
|
page.onPlayTrackAt(0)
|
||||||
})
|
})
|
||||||
|
|
||||||
// Todo: there's got to be a way to make this less convoluted. Custom layout?
|
|
||||||
a.container = container.NewVBox(a.titleLabel, container.New(&layouts.VboxCustomPadding{ExtraPad: -10},
|
a.container = container.NewVBox(a.titleLabel, container.New(&layouts.VboxCustomPadding{ExtraPad: -10},
|
||||||
a.descriptionLabel,
|
a.descriptionLabel,
|
||||||
a.ownerLabel,
|
a.ownerLabel,
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ func NewPlaylistList() *PlaylistList {
|
|||||||
row := item.(*PlaylistListRow)
|
row := item.(*PlaylistListRow)
|
||||||
row.ID = a.Playlists[id].ID
|
row.ID = a.Playlists[id].ID
|
||||||
row.nameLabel.Text = a.Playlists[id].Name
|
row.nameLabel.Text = a.Playlists[id].Name
|
||||||
row.descrptionLabel.Text = a.Playlists[id].Name
|
row.descrptionLabel.Text = a.Playlists[id].Comment
|
||||||
row.ownerLabel.Text = a.Playlists[id].Owner
|
row.ownerLabel.Text = a.Playlists[id].Owner
|
||||||
row.trackCountLabel.Text = strconv.Itoa(a.Playlists[id].SongCount)
|
row.trackCountLabel.Text = strconv.Itoa(a.Playlists[id].SongCount)
|
||||||
row.Refresh()
|
row.Refresh()
|
||||||
|
|||||||
Reference in New Issue
Block a user