Playlist View: Enable column text tightening before truncation

CQTexperiment
Christopher Snowhill 2022-01-22 15:03:30 -08:00
parent 502e52d699
commit b54b10861b
1 changed files with 2 additions and 0 deletions

View File

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