[vlc-commits] [Git][videolan/vlc][master] macosx: truncate media source collection labels

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Jul 25 12:15:32 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
599d10ce by Serhii Bykov at 2026-07-25T12:02:31+00:00
macosx: truncate media source collection labels

- - - - -


1 changed file:

- modules/gui/macosx/UI/VLCMediaSourceDeviceCollectionViewItem.xib


Changes:

=====================================
modules/gui/macosx/UI/VLCMediaSourceDeviceCollectionViewItem.xib
=====================================
@@ -19,8 +19,8 @@
             <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
             <subviews>
                 <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="jJ3-BQ-y8F">
-                    <rect key="frame" x="-2" y="0.0" width="37" height="16"/>
-                    <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" title="Label" usesSingleLineMode="YES" id="Utm-F6-CKx">
+                    <rect key="frame" x="-2" y="0.0" width="218" height="16"/>
+                    <textFieldCell key="cell" scrollable="YES" lineBreakMode="truncatingTail" title="Label" usesSingleLineMode="YES" id="Utm-F6-CKx">
                         <font key="font" metaFont="system"/>
                         <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
                         <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
@@ -45,6 +45,7 @@
                 <constraint firstAttribute="trailing" secondItem="rko-Nc-j4c" secondAttribute="trailing" id="QHi-3o-Z4u"/>
                 <constraint firstItem="rko-Nc-j4c" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="Va8-hk-LhR"/>
                 <constraint firstItem="jJ3-BQ-y8F" firstAttribute="leading" secondItem="rko-Nc-j4c" secondAttribute="leading" id="rFY-qw-fsf"/>
+                <constraint firstItem="jJ3-BQ-y8F" firstAttribute="trailing" secondItem="rko-Nc-j4c" secondAttribute="trailing" id="sAI-o0-Vaz"/>
                 <constraint firstAttribute="bottom" secondItem="jJ3-BQ-y8F" secondAttribute="bottom" id="tms-ub-oAu"/>
             </constraints>
             <point key="canvasLocation" x="-211" y="66.5"/>



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/599d10ce44fea6f8f6320396dac6e24a0b06a24c

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