[vlc-commits] macosx/Playlist Accessory View: switch to auto-layout

Felix Paul Kühne git at videolan.org
Fri Feb 5 11:43:29 CET 2016


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Feb  5 10:11:16 2016 +0100| [8b825903102f6c13583d6873ae811ba68efc4faa] | committer: Felix Paul Kühne

macosx/Playlist Accessory View: switch to auto-layout

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

 .../English.lproj/PlaylistAccessoryView.xib        |   24 ++++++++++++--------
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/extras/package/macosx/Resources/English.lproj/PlaylistAccessoryView.xib b/extras/package/macosx/Resources/English.lproj/PlaylistAccessoryView.xib
index 733327e..725c621 100644
--- a/extras/package/macosx/Resources/English.lproj/PlaylistAccessoryView.xib
+++ b/extras/package/macosx/Resources/English.lproj/PlaylistAccessoryView.xib
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="10102" systemVersion="15D21" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9531" systemVersion="15D21" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
     <dependencies>
         <deployment version="1070" identifier="macosx"/>
         <development version="7000" identifier="xcode"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="10102"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9531"/>
     </dependencies>
     <objects>
         <customObject id="-2" userLabel="File's Owner" customClass="VLCMainMenu">
@@ -16,21 +16,19 @@
         <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
         <customObject id="-3" userLabel="Application" customClass="NSObject"/>
         <customView id="1" userLabel="SaveAccessoryView">
-            <rect key="frame" x="0.0" y="0.0" width="488" height="40"/>
+            <rect key="frame" x="0.0" y="0.0" width="374" height="40"/>
             <autoresizingMask key="autoresizingMask"/>
             <subviews>
-                <textField verticalHuggingPriority="750" id="2">
-                    <rect key="frame" x="13" y="13" width="213" height="17"/>
-                    <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
+                <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="2">
+                    <rect key="frame" x="13" y="12" width="76" height="17"/>
                     <textFieldCell key="cell" sendsActionOnEndEditing="YES" title="File Format:" id="9">
                         <font key="font" metaFont="system"/>
                         <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
                         <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
                     </textFieldCell>
                 </textField>
-                <popUpButton verticalHuggingPriority="750" id="3">
-                    <rect key="frame" x="233" y="7" width="244" height="26"/>
-                    <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
+                <popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="3">
+                    <rect key="frame" x="96" y="7" width="267" height="26"/>
                     <popUpButtonCell key="cell" type="push" title="Extended M3U" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" inset="2" arrowPosition="arrowAtCenter" preferredEdge="maxY" selectedItem="7" id="4">
                         <behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
                         <font key="font" metaFont="menu"/>
@@ -44,6 +42,14 @@
                     </popUpButtonCell>
                 </popUpButton>
             </subviews>
+            <constraints>
+                <constraint firstItem="3" firstAttribute="leading" secondItem="2" secondAttribute="trailing" constant="11" id="5s2-Ut-CYG"/>
+                <constraint firstItem="2" firstAttribute="leading" secondItem="1" secondAttribute="leading" constant="15" id="Fe1-XU-wIa"/>
+                <constraint firstItem="3" firstAttribute="centerY" secondItem="2" secondAttribute="centerY" id="OTX-0S-cmU"/>
+                <constraint firstAttribute="trailing" secondItem="3" secondAttribute="trailing" constant="14" id="Rhz-TO-tdh"/>
+                <constraint firstItem="2" firstAttribute="centerY" secondItem="1" secondAttribute="centerY" id="dRs-Vr-PuE"/>
+            </constraints>
+            <point key="canvasLocation" x="423" y="447"/>
         </customView>
     </objects>
 </document>



More information about the vlc-commits mailing list