[vlc-commits] [Git][videolan/vlc][master] macosx: Elide tail for long grid view supplementary element header views text
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Mar 14 07:20:09 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
28c88c5a by Claudio Cambra at 2025-03-14T06:54:27+00:00
macosx: Elide tail for long grid view supplementary element header views text
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
1 changed file:
- modules/gui/macosx/library/VLCLibraryCollectionViewSupplementaryElementView.m
Changes:
=====================================
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;
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/28c88c5a776cf03b13dd543692823430c7f59c54
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/28c88c5a776cf03b13dd543692823430c7f59c54
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list