[vlc-commits] [Git][videolan/vlc][master] macosx: fix title truncation in sidebar

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sun Nov 15 22:25:37 UTC 2026



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
ed6d4aa1 by Serhii Bykov at 2026-11-15T22:31:17+01:00
macosx: fix title truncation in sidebar

- - - - -


1 changed file:

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


Changes:

=====================================
modules/gui/macosx/UI/VLCLibraryWindowTitlesView.xib
=====================================
@@ -50,9 +50,8 @@
                                                 <rect key="frame" x="11" y="1" width="741" height="16"/>
                                                 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                                 <subviews>
-                                                    <textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Wdd-df-zUi">
-                                                        <rect key="frame" x="0.0" y="0.0" width="96" height="16"/>
-                                                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                                                    <textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="Wdd-df-zUi">
+                                                        <rect key="frame" x="0.0" y="0.0" width="741" height="16"/>
                                                         <textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Table View Cell" id="deP-dG-o27">
                                                             <font key="font" metaFont="message"/>
                                                             <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -60,6 +59,11 @@
                                                         </textFieldCell>
                                                     </textField>
                                                 </subviews>
+                                                <constraints>
+                                                    <constraint firstItem="Wdd-df-zUi" firstAttribute="leading" secondItem="ZTp-fs-5fE" secondAttribute="leading" id="title-leading"/>
+                                                    <constraint firstAttribute="trailing" secondItem="Wdd-df-zUi" secondAttribute="trailing" id="title-trailing"/>
+                                                    <constraint firstItem="Wdd-df-zUi" firstAttribute="centerY" secondItem="ZTp-fs-5fE" secondAttribute="centerY" id="title-center-y"/>
+                                                </constraints>
                                                 <connections>
                                                     <outlet property="textField" destination="Wdd-df-zUi" id="61g-Ze-nvR"/>
                                                 </connections>



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

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