Ensure very long album names are properly truncated in TrackListView

header rows.
This commit is contained in:
casey langen 2017-12-28 13:57:30 -08:00
parent 0cade3f4cb
commit 28dfeeb3be

View File

@ -392,6 +392,8 @@ IScrollAdapter::EntryPtr TrackListView::Adapter::GetEntry(cursespp::ScrollableWi
album = _TSTR("tracklist_unknown_album");
}
album = text::Ellipsize(album, this->GetWidth());
std::shared_ptr<TrackListEntry> entry(new
TrackListEntry(album, trackIndex, RowType::Separator));