mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-30 12:16:00 +00:00
Ensure very long album names are properly truncated in TrackListView
header rows.
This commit is contained in:
parent
0cade3f4cb
commit
28dfeeb3be
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user