[vlc-commits] [Git][videolan/vlc][master] macosx: Reduce font sizes in hero view elements

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Jul 10 07:00:54 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
0301d9c8 by Claudio Cambra at 2026-07-10T06:46:30+00:00
macosx: Reduce font sizes in hero view elements

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -


1 changed file:

- modules/gui/macosx/library/VLCLibraryHeroView.m


Changes:

=====================================
modules/gui/macosx/library/VLCLibraryHeroView.m
=====================================
@@ -23,6 +23,7 @@
 #import "VLCLibraryHeroView.h"
 
 #import "extensions/NSColor+VLCAdditions.h"
+#import "extensions/NSFont+VLCAdditions.h"
 #import "extensions/NSString+Helpers.h"
 #import "extensions/NSView+VLCAdditions.h"
 
@@ -49,10 +50,13 @@
 {
     self.largeImageView.contentGravity = VLCImageViewContentGravityResizeAspectFill;
     self.playButton.bezelColor = NSColor.VLCAccentColor;
+    self.playButton.font = NSFont.VLCLibrarySubsectionSubheaderFont;
     if (@available(macOS 10.14, *)) {
         self.playButton.contentTintColor = NSColor.VLCAccentColor;
     }
+    self.titleTextField.font = NSFont.VLCLibrarySubsectionHeaderFont;
     self.titleTextField.maximumNumberOfLines = 3;
+    self.detailTextField.font = NSFont.VLCLibrarySubsectionSubheaderFont;
     self.detailTextField.maximumNumberOfLines = 1;
     [self connectItemUpdaters];
 }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0301d9c8783cff8464fdcbe6c18056fc5bf147bc

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0301d9c8783cff8464fdcbe6c18056fc5bf147bc
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list