[vlc-commits] [Git][videolan/vlc][master] macosx: Fix the audio group header view not correctly fitting to/resizing with...

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sun Aug 17 09:45:49 UTC 2025



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
61fdd525 by Claudio Cambra at 2025-08-17T09:25:05+00:00
macosx: Fix the audio group header view not correctly fitting to/resizing with the parent collection view

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

- - - - -


1 changed file:

- modules/gui/macosx/library/audio-library/VLCLibraryAudioGroupHeaderView.m


Changes:

=====================================
modules/gui/macosx/library/audio-library/VLCLibraryAudioGroupHeaderView.m
=====================================
@@ -52,12 +52,15 @@ NSString * const VLCLibraryAudioGroupHeaderViewIdentifier = @"VLCLibraryAudioGro
 
 - (void)awakeFromNib
 {
+    [super awakeFromNib];
+
     if (@available(macOS 10.14, *))
         _playButton.bezelColor = NSColor.VLCAccentColor;
 
     if (@available(macOS 26.0, *)) {
 #if __MAC_OS_X_VERSION_MAX_ALLOWED >= 260000
         self.glassBackgroundView = [[NSGlassEffectView alloc] initWithFrame:self.backgroundEffectView.frame];
+        self.glassBackgroundView.translatesAutoresizingMaskIntoConstraints = NO;
 
         [self addSubview:self.glassBackgroundView
               positioned:NSWindowBelow



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/61fdd52513d5937977c11db789030fa93c861b76

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/61fdd52513d5937977c11db789030fa93c861b76
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