[vlc-commits] [Git][videolan/vlc][master] 2 commits: macosx: Fix restricted width of library window when in home view caused by height of hero view

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Tue Mar 12 18:29:48 UTC 2024



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


Commits:
5ad22f26 by Claudio Cambra at 2024-03-12T18:08:21+00:00
macosx: Fix restricted width of library window when in home view caused by height of hero view

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

- - - - -
ee6ccb11 by Claudio Cambra at 2024-03-12T18:08:21+00:00
macosx: Fix hero view becoming unshrinkable

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

- - - - -


1 changed file:

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


Changes:

=====================================
modules/gui/macosx/UI/VLCLibraryHeroView.xib
=====================================
@@ -9,14 +9,11 @@
         <customObject id="-2" userLabel="File's Owner"/>
         <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
         <customObject id="-3" userLabel="Application" customClass="NSObject"/>
-        <customView wantsLayer="YES" translatesAutoresizingMaskIntoConstraints="NO" id="LPV-K6-7AE" customClass="VLCLibraryHeroView">
+        <customView wantsLayer="YES" horizontalCompressionResistancePriority="250" verticalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="LPV-K6-7AE" customClass="VLCLibraryHeroView">
             <rect key="frame" x="0.0" y="0.0" width="833" height="357"/>
             <subviews>
-                <customView translatesAutoresizingMaskIntoConstraints="NO" id="qdP-As-qZ0" customClass="VLCImageView">
+                <customView horizontalCompressionResistancePriority="250" verticalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="qdP-As-qZ0" customClass="VLCImageView">
                     <rect key="frame" x="0.0" y="0.0" width="833" height="357"/>
-                    <constraints>
-                        <constraint firstAttribute="height" constant="357" id="y7Y-rw-LCu"/>
-                    </constraints>
                 </customView>
                 <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="GoN-QI-mru">
                     <rect key="frame" x="18" y="309" width="155" height="28"/>



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/33dd66bd7fea507bdfcfb0c617b3e61b3c323b6d...ee6ccb11962653f7aab525a18b10be6b80cf5d17

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/33dd66bd7fea507bdfcfb0c617b3e61b3c323b6d...ee6ccb11962653f7aab525a18b10be6b80cf5d17
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