macosx/Addon Manager: switch to auto-layout
authorFelix Paul Kühne <fkuehne@videolan.org>
Fri, 5 Feb 2016 09:22:33 +0000 (10:22 +0100)
committerFelix Paul Kühne <fkuehne@videolan.org>
Fri, 5 Feb 2016 09:22:33 +0000 (10:22 +0100)
extras/package/macosx/Resources/English.lproj/AddonManager.xib

index 6f7a1a9..60d032b 100644 (file)
@@ -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 identifier="macosx"/>
         <development version="7000" identifier="xcode"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="10102"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9531"/>
         <capability name="box content view" minToolsVersion="7.0"/>
     </dependencies>
     <objects>
@@ -23,7 +23,7 @@
             </connections>
         </customObject>
         <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
-        <customObject id="-3" userLabel="Application"/>
+        <customObject id="-3" userLabel="Application" customClass="NSObject"/>
         <window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" animationBehavior="default" id="1">
             <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
             <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
                 <rect key="frame" x="0.0" y="0.0" width="568" height="316"/>
                 <autoresizingMask key="autoresizingMask"/>
                 <subviews>
-                    <scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="10">
-                        <rect key="frame" x="20" y="48" width="260" height="221"/>
-                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                    <scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="10">
+                        <rect key="frame" x="20" y="46" width="260" height="223"/>
                         <clipView key="contentView" id="Igb-C5-mku">
-                            <rect key="frame" x="1" y="23" width="258" height="197"/>
+                            <rect key="frame" x="1" y="0.0" width="258" height="222"/>
                             <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                             <subviews>
                                 <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" headerView="12" id="11">
-                                    <rect key="frame" x="0.0" y="0.0" width="258" height="197"/>
+                                    <rect key="frame" x="0.0" y="0.0" width="258" height="199"/>
                                     <autoresizingMask key="autoresizingMask"/>
                                     <size key="intercellSpacing" width="3" height="2"/>
                                     <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
                             </subviews>
                             <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
                         </clipView>
+                        <constraints>
+                            <constraint firstAttribute="width" constant="260" id="16S-p9-eac"/>
+                        </constraints>
                         <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="14">
                             <rect key="frame" x="1" y="233" width="262" height="15"/>
                             <autoresizingMask key="autoresizingMask"/>
                         </scroller>
                         <scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="13">
-                            <rect key="frame" x="224" y="17" width="15" height="102"/>
+                            <rect key="frame" x="160" y="23" width="16" height="0.0"/>
                             <autoresizingMask key="autoresizingMask"/>
                         </scroller>
                         <tableHeaderView key="headerView" id="12">
@@ -96,9 +98,8 @@
                             <autoresizingMask key="autoresizingMask"/>
                         </tableHeaderView>
                     </scrollView>
-                    <popUpButton verticalHuggingPriority="750" id="9">
+                    <popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="9">
                         <rect key="frame" x="18" y="279" width="265" height="26"/>
-                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                         <popUpButtonCell key="cell" type="push" title="Item 1" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="23" id="19">
                             <behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
                             <font key="font" metaFont="menu"/>
                             <action selector="switchType:" target="-2" id="110"/>
                         </connections>
                     </popUpButton>
-                    <button hidden="YES" id="8">
-                        <rect key="frame" x="18" y="22" width="210" height="20"/>
-                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                    <button hidden="YES" translatesAutoresizingMaskIntoConstraints="NO" id="8">
+                        <rect key="frame" x="18" y="22" width="61" height="18"/>
                         <buttonCell key="cell" type="check" title="Check" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="24">
                             <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
                             <font key="font" metaFont="system"/>
                             <action selector="toggleLocalCheckbox:" target="-2" id="124"/>
                         </connections>
                     </button>
-                    <progressIndicator horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" displayedWhenStopped="NO" bezeled="NO" indeterminate="YES" style="spinning" id="7">
-                        <rect key="frame" x="124" y="128" width="32" height="32"/>
-                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                    <progressIndicator wantsLayer="YES" horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" displayedWhenStopped="NO" bezeled="NO" indeterminate="YES" style="spinning" translatesAutoresizingMaskIntoConstraints="NO" id="7">
+                        <rect key="frame" x="134" y="142" width="32" height="32"/>
                     </progressIndicator>
-                    <box autoresizesSubviews="NO" title="Box" borderType="line" titlePosition="noTitle" id="3">
+                    <box autoresizesSubviews="NO" title="Box" borderType="line" titlePosition="noTitle" translatesAutoresizingMaskIntoConstraints="NO" id="3">
                         <rect key="frame" x="285" y="16" width="265" height="289"/>
-                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                         <view key="contentView" id="iYv-xr-08Y">
                             <rect key="frame" x="1" y="1" width="263" height="287"/>
                             <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                             <subviews>
-                                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="31">
-                                    <rect key="frame" x="15" y="259" width="233" height="17"/>
-                                    <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                                <textField horizontalHuggingPriority="251" verticalHuggingPriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="31">
+                                    <rect key="frame" x="15" y="259" width="126" height="17"/>
                                     <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="My Über Extension" id="32">
                                         <font key="font" metaFont="systemBold"/>
                                         <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
                                         <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
                                     </textFieldCell>
                                 </textField>
-                                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="30">
-                                    <rect key="frame" x="15" y="234" width="233" height="17"/>
-                                    <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="30">
+                                    <rect key="frame" x="15" y="237" width="56" height="14"/>
                                     <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="That's me" id="33">
                                         <font key="font" metaFont="smallSystem"/>
                                         <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
                                         <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
                                     </textFieldCell>
                                 </textField>
-                                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="29">
-                                    <rect key="frame" x="15" y="209" width="233" height="17"/>
-                                    <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="29">
+                                    <rect key="frame" x="15" y="215" width="73" height="14"/>
                                     <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Version 2.0.0" id="34">
                                         <font key="font" metaFont="smallSystem"/>
                                         <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
                                         <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
                                     </textFieldCell>
                                 </textField>
-                                <scrollView borderType="none" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" id="28">
-                                    <rect key="frame" x="18" y="54" width="227" height="147"/>
-                                    <autoresizingMask key="autoresizingMask"/>
+                                <scrollView borderType="none" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="28">
+                                    <rect key="frame" x="17" y="44" width="228" height="163"/>
                                     <clipView key="contentView" drawsBackground="NO" copiesOnScroll="NO" id="lzi-cw-M1T">
-                                        <rect key="frame" x="0.0" y="0.0" width="227" height="147"/>
+                                        <rect key="frame" x="0.0" y="0.0" width="228" height="163"/>
                                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                         <subviews>
                                             <textView editable="NO" drawsBackground="NO" importsGraphics="NO" richText="NO" findStyle="panel" continuousSpellChecking="YES" usesRuler="YES" usesFontPanel="YES" verticallyResizable="YES" allowsNonContiguousLayout="YES" quoteSubstitution="YES" dashSubstitution="YES" spellingCorrection="YES" smartInsertDelete="YES" id="35">
-                                                <rect key="frame" x="0.0" y="0.0" width="239" height="147"/>
+                                                <rect key="frame" x="0.0" y="0.0" width="408" height="163"/>
                                                 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                                 <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
-                                                <size key="minSize" width="227" height="147"/>
+                                                <size key="minSize" width="228" height="163"/>
                                                 <size key="maxSize" width="463" height="10000000"/>
                                                 <attributedString key="textStorage">
                                                     <fragment>
@@ -189,7 +183,7 @@ I've never been this far away from home</string>
                                                     </fragment>
                                                 </attributedString>
                                                 <color key="insertionPointColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
-                                                <size key="minSize" width="227" height="147"/>
+                                                <size key="minSize" width="228" height="163"/>
                                                 <size key="maxSize" width="463" height="10000000"/>
                                             </textView>
                                         </subviews>
@@ -199,14 +193,13 @@ I've never been this far away from home</string>
                                         <rect key="frame" x="-100" y="-100" width="87" height="18"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                     </scroller>
-                                    <scroller key="verticalScroller" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="36">
-                                        <rect key="frame" x="211" y="0.0" width="16" height="147"/>
+                                    <scroller key="verticalScroller" verticalHuggingPriority="750" horizontal="NO" id="36">
+                                        <rect key="frame" x="212" y="0.0" width="16" height="163"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                     </scroller>
                                 </scrollView>
-                                <button verticalHuggingPriority="750" id="99">
-                                    <rect key="frame" x="12" y="6" width="132" height="32"/>
-                                    <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                                <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="99">
+                                    <rect key="frame" x="11" y="6" width="76" height="32"/>
                                     <buttonCell key="cell" type="push" title="Install" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="100">
                                         <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                                         <font key="font" metaFont="system"/>
@@ -216,13 +209,26 @@ I've never been this far away from home</string>
                                     </connections>
                                 </button>
                             </subviews>
+                            <constraints>
+                                <constraint firstAttribute="bottom" secondItem="99" secondAttribute="bottom" constant="13" id="5MQ-65-f6K"/>
+                                <constraint firstItem="28" firstAttribute="top" secondItem="29" secondAttribute="bottom" constant="8" id="5kC-sA-AFV"/>
+                                <constraint firstItem="30" firstAttribute="leading" secondItem="31" secondAttribute="leading" id="D3E-dW-Wdt"/>
+                                <constraint firstItem="29" firstAttribute="top" secondItem="30" secondAttribute="bottom" constant="8" id="Iyz-SM-n4T"/>
+                                <constraint firstItem="28" firstAttribute="leading" secondItem="29" secondAttribute="leading" id="Qoz-zG-r2d"/>
+                                <constraint firstItem="99" firstAttribute="leading" secondItem="31" secondAttribute="leading" id="dgs-MX-kuz"/>
+                                <constraint firstItem="31" firstAttribute="top" secondItem="iYv-xr-08Y" secondAttribute="top" constant="11" id="huC-62-CF6"/>
+                                <constraint firstItem="30" firstAttribute="top" secondItem="31" secondAttribute="bottom" constant="8" id="iDJ-fy-RvZ"/>
+                                <constraint firstItem="29" firstAttribute="leading" secondItem="30" secondAttribute="leading" id="iFc-wo-URd"/>
+                                <constraint firstAttribute="trailing" secondItem="28" secondAttribute="trailing" constant="18" id="mcg-7W-uEl"/>
+                                <constraint firstItem="31" firstAttribute="leading" secondItem="iYv-xr-08Y" secondAttribute="leading" constant="17" id="mdw-ax-Y2R"/>
+                                <constraint firstItem="99" firstAttribute="top" secondItem="28" secondAttribute="bottom" constant="10" id="unV-XY-3c6"/>
+                            </constraints>
                         </view>
                         <color key="borderColor" white="0.0" alpha="0.41999999999999998" colorSpace="calibratedWhite"/>
                         <color key="fillColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
                     </box>
-                    <button verticalHuggingPriority="750" id="101">
-                        <rect key="frame" x="15" y="15" width="271" height="32"/>
-                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                    <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="101">
+                        <rect key="frame" x="14" y="13" width="272" height="32"/>
                         <buttonCell key="cell" type="push" title="Find more addons online" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="102">
                             <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                             <font key="font" metaFont="system"/>
@@ -232,6 +238,25 @@ I've never been this far away from home</string>
                         </connections>
                     </button>
                 </subviews>
+                <constraints>
+                    <constraint firstItem="9" firstAttribute="leading" secondItem="10" secondAttribute="leading" id="Bbl-8c-VJz"/>
+                    <constraint firstItem="9" firstAttribute="width" secondItem="10" secondAttribute="width" id="NmD-aj-s6J"/>
+                    <constraint firstItem="10" firstAttribute="leading" secondItem="2" secondAttribute="leading" constant="20" id="RDi-a4-Xsq"/>
+                    <constraint firstItem="3" firstAttribute="leading" secondItem="10" secondAttribute="trailing" constant="8" id="RSH-0P-AkC"/>
+                    <constraint firstItem="3" firstAttribute="top" secondItem="9" secondAttribute="top" id="VmI-tl-liS"/>
+                    <constraint firstItem="101" firstAttribute="width" secondItem="10" secondAttribute="width" id="W5b-G7-T9P"/>
+                    <constraint firstItem="3" firstAttribute="bottom" secondItem="101" secondAttribute="bottom" id="WgK-aD-o9d"/>
+                    <constraint firstItem="8" firstAttribute="leading" secondItem="10" secondAttribute="leading" id="ZmS-Ul-Z7Z"/>
+                    <constraint firstAttribute="bottom" secondItem="3" secondAttribute="bottom" constant="20" id="bOq-Fv-kpZ"/>
+                    <constraint firstItem="7" firstAttribute="centerY" secondItem="10" secondAttribute="centerY" id="eq7-Jt-kvh"/>
+                    <constraint firstItem="9" firstAttribute="top" secondItem="2" secondAttribute="top" constant="13" id="fE2-lZ-mct"/>
+                    <constraint firstItem="7" firstAttribute="centerX" secondItem="10" secondAttribute="centerX" id="frM-NA-uJj"/>
+                    <constraint firstItem="101" firstAttribute="top" secondItem="10" secondAttribute="bottom" constant="5" id="ieT-LN-pgb"/>
+                    <constraint firstAttribute="trailing" secondItem="3" secondAttribute="trailing" constant="21" id="jnc-uA-zqU"/>
+                    <constraint firstItem="101" firstAttribute="leading" secondItem="10" secondAttribute="leading" id="mfy-OE-EfI"/>
+                    <constraint firstItem="8" firstAttribute="top" secondItem="10" secondAttribute="bottom" constant="8" id="rg1-df-MmZ"/>
+                    <constraint firstItem="10" firstAttribute="top" secondItem="9" secondAttribute="bottom" constant="13" id="sui-dO-v1y"/>
+                </constraints>
             </view>
         </window>
     </objects>