[vlc-commits] macosx: Do not resize fullscreen panel on long video names

David Fuhrmann git at videolan.org
Tue Oct 3 20:00:19 CEST 2017


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Tue Oct  3 19:58:49 2017 +0200| [057796c1942a2afddfce1d3883b44bbf32c81130] | committer: David Fuhrmann

macosx: Do not resize fullscreen panel on long video names

All labels with video names should not resize any window. Thus
make sure to always set a compression resistance < 500 for those
labels.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=057796c1942a2afddfce1d3883b44bbf32c81130
---

 modules/gui/macosx/UI/VLCFullScreenPanel.xib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/UI/VLCFullScreenPanel.xib b/modules/gui/macosx/UI/VLCFullScreenPanel.xib
index 02373b2590..8f8129d72e 100644
--- a/modules/gui/macosx/UI/VLCFullScreenPanel.xib
+++ b/modules/gui/macosx/UI/VLCFullScreenPanel.xib
@@ -207,7 +207,7 @@
                             <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
                         </textFieldCell>
                     </textField>
-                    <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Vd8-0f-Usz">
+                    <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="Vd8-0f-Usz">
                         <rect key="frame" x="98" y="57" width="284" height="14"/>
                         <constraints>
                             <constraint firstAttribute="height" constant="14" id="SsE-i5-v4k"/>



More information about the vlc-commits mailing list