diff --git a/modules/gui/macosx/library/VLCLibraryCollectionViewSupplementaryElementView.m b/modules/gui/macosx/library/VLCLibraryCollectionViewSupplementaryElementView.m index 59550318058aa602156f81eef3239893c9d6b272..ef099dd00bd6f3db7f70ff3cfc452bc94377ccde 100644 --- a/modules/gui/macosx/library/VLCLibraryCollectionViewSupplementaryElementView.m +++ b/modules/gui/macosx/library/VLCLibraryCollectionViewSupplementaryElementView.m @@ -46,6 +46,9 @@ NSString *VLCLibrarySupplementaryElementViewIdentifier = @"VLCLibrarySupplementa self.usesSingleLineMode = NO; self.drawsBackground = YES; self.backgroundColor = [NSColor clearColor]; + self.allowsDefaultTighteningForTruncation = YES; + self.maximumNumberOfLines = 1; + self.lineBreakMode = NSLineBreakByTruncatingTail; } return self; }