Playlist View: Enable column text tightening before truncation

This commit is contained in:
Christopher Snowhill 2022-01-22 15:03:30 -08:00
parent 502e52d699
commit b54b10861b

View file

@ -313,6 +313,8 @@ static inline void dispatch_sync_reentrant(dispatch_queue_t queue, dispatch_bloc
cellView.frame = frameRect;
if (cellView.textField) {
cellView.textField.allowsDefaultTighteningForTruncation = YES;
NSFont * sysFont = [NSFont systemFontOfSize:fontSize];
NSFontDescriptor * fontDesc = [sysFont fontDescriptor];