[vlc-commits] [Git][videolan/vlc][master] macosx: Prevent textfields in detached audio window forcing window to be wider

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Mar 19 12:05:46 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
3c968e73 by Claudio Cambra at 2025-03-19T11:50:53+00:00
macosx: Prevent textfields in detached audio window forcing window to be wider

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

- - - - -


1 changed file:

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


Changes:

=====================================
modules/gui/macosx/UI/VLCDetachedAudioWindow.xib
=====================================
@@ -31,7 +31,7 @@
                                     <customView translatesAutoresizingMaskIntoConstraints="NO" id="65" customClass="VLCDragDropView">
                                         <rect key="frame" x="0.0" y="0.0" width="500" height="115"/>
                                         <subviews>
-                                            <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hHQ-ue-m9C">
+                                            <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="hHQ-ue-m9C">
                                                 <rect key="frame" x="8" y="63" width="484" height="19"/>
                                                 <shadow key="shadow" blurRadius="5">
                                                     <color key="color" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
@@ -42,7 +42,7 @@
                                                     <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                                 </textFieldCell>
                                             </textField>
-                                            <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="zpq-en-EAi">
+                                            <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="zpq-en-EAi">
                                                 <rect key="frame" x="8" y="82" width="484" height="28"/>
                                                 <shadow key="shadow" blurRadius="5">
                                                     <color key="color" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>



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

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