[vlc-commits] [Git][videolan/vlc][master] macosx: Fix MRL box visibility
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Sun Jan 11 10:32:55 UTC 2026
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
f8cb176d by Dave Nicolson at 2026-01-11T11:17:57+01:00
macosx: Fix MRL box visibility
- - - - -
3 changed files:
- modules/gui/macosx/UI/Open.xib
- modules/gui/macosx/windows/VLCOpenWindowController.h
- modules/gui/macosx/windows/VLCOpenWindowController.m
Changes:
=====================================
modules/gui/macosx/UI/Open.xib
=====================================
@@ -82,6 +82,7 @@
<outlet property="fileSubtitlesFilenameLabel" destination="3334" id="e8g-Pz-arj"/>
<outlet property="fileSubtitlesIconWell" destination="3335" id="Ewo-mh-0b9"/>
<outlet property="fileTreatAsPipeButton" destination="834" id="qZ9-Ma-hdL"/>
+ <outlet property="mrlBox" destination="2838" id="tPr-0Q-gQz"/>
<outlet property="mrlButton" destination="2836" id="BTX-dY-2pe"/>
<outlet property="mrlButtonLabel" destination="kwb-cv-hMZ" id="RqG-TM-bZ0"/>
<outlet property="mrlTextField" destination="2840" id="YtE-PL-EEV"/>
=====================================
modules/gui/macosx/windows/VLCOpenWindowController.h
=====================================
@@ -28,6 +28,7 @@
@interface VLCOpenWindowController : NSWindowController <NSTabViewDelegate>
@property (readwrite, weak) IBOutlet NSTextField *mrlTextField;
+ at property (readwrite, weak) IBOutlet NSBox *mrlBox;
@property (readwrite, weak) IBOutlet NSButton *mrlButton;
@property (readwrite, weak) IBOutlet NSButton *mrlButtonLabel;
@property (readwrite, weak) IBOutlet NSTabView *tabView;
=====================================
modules/gui/macosx/windows/VLCOpenWindowController.m
=====================================
@@ -135,6 +135,7 @@ NSString *const VLCOpenTextFieldWasClicked = @"VLCOpenTextFieldWasClicked";
// Auto collapse MRL field
self.mrlViewHeightConstraint.constant = 0;
+ self.mrlBox.hidden = YES;
[self updateVideoDevicesAndRepresentation];
@@ -501,8 +502,10 @@ NSString *const VLCOpenTextFieldWasClicked = @"VLCOpenTextFieldWasClicked";
{
if ([_mrlButton state] == NSOffState) {
self.mrlViewHeightConstraint.animator.constant = 0;
+ self.mrlBox.hidden = YES;
} else {
self.mrlViewHeightConstraint.animator.constant = 39;
+ self.mrlBox.hidden = NO;
}
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f8cb176dc616e21e9aff4a7bad6963894cbf1e9f
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f8cb176dc616e21e9aff4a7bad6963894cbf1e9f
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