Playlist View: Enable column text tightening before truncation
parent
502e52d699
commit
b54b10861b
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue