Commit 6cefd88c authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

network list cells: move to autolayout (refs #15060)

parent bff4b92a
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="8121.17" systemVersion="14E33b" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9058" systemVersion="15B30a" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="iOS"/>
<development version="5000" identifier="xcode"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8101.14"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9048"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
......@@ -11,40 +13,48 @@
<rect key="frame" x="0.0" y="0.0" width="320" height="80"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<tableViewCellContentView key="contentView" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="3" id="vO8-D6-6WE">
<rect key="frame" x="0.0" y="0.0" width="320" height="79"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="79.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" id="4">
<rect key="frame" x="5" y="8" width="64" height="64"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="4">
<rect key="frame" x="8" y="8" width="64" height="64"/>
<animations/>
<constraints>
<constraint firstAttribute="height" constant="64" id="BCM-9x-VeS"/>
<constraint firstAttribute="width" constant="64" id="Fdr-YA-u0U"/>
</constraints>
</imageView>
<label clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="File Title" lineBreakMode="wordWrap" baselineAdjustment="none" minimumScaleFactor="0.5" id="6">
<rect key="frame" x="83" y="21" width="177" height="21"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<label clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="File Title" lineBreakMode="wordWrap" baselineAdjustment="none" minimumScaleFactor="0.5" useAutomaticPreferredMaxLayoutWidth="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6">
<rect key="frame" x="86" y="21" width="174" height="20.5"/>
<animations/>
<color key="backgroundColor" red="0.1215686275" green="0.1215686275" blue="0.1215686275" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</label>
<label clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Folder Title" lineBreakMode="wordWrap" baselineAdjustment="none" minimumScaleFactor="0.5" id="23">
<rect key="frame" x="83" y="29" width="232" height="21"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<label clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Folder Title" lineBreakMode="wordWrap" baselineAdjustment="none" minimumScaleFactor="0.5" useAutomaticPreferredMaxLayoutWidth="YES" translatesAutoresizingMaskIntoConstraints="NO" id="23">
<rect key="frame" x="86" y="29.5" width="229" height="20.5"/>
<animations/>
<color key="backgroundColor" red="0.1052877679" green="0.1052846164" blue="0.1052864045" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</label>
<label clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Subtitle — Subtitle" lineBreakMode="wordWrap" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" id="7">
<rect key="frame" x="83" y="44" width="177" height="15"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<label clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Subtitle — Subtitle" lineBreakMode="wordWrap" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" useAutomaticPreferredMaxLayoutWidth="YES" translatesAutoresizingMaskIntoConstraints="NO" id="7">
<rect key="frame" x="86" y="45" width="174" height="14"/>
<animations/>
<color key="backgroundColor" red="0.1215686275" green="0.1215686275" blue="0.1215686275" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="Helvetica" family="Helvetica" pointSize="12"/>
<color key="textColor" white="0.71999999999999997" alpha="1" colorSpace="calibratedWhite"/>
<color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="25">
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="25">
<rect key="frame" x="268" y="24" width="32" height="32"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES"/>
<animations/>
<constraints>
<constraint firstAttribute="width" constant="32" id="DFw-PD-qaI"/>
<constraint firstAttribute="height" constant="32" id="DNt-gh-3Bh"/>
</constraints>
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
<state key="normal" image="download.png">
<color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="calibratedRGB"/>
......@@ -57,17 +67,37 @@
<action selector="triggerDownload:" destination="3" eventType="touchUpInside" id="27"/>
</connections>
</button>
<label hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Downloading..." lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" id="28" customClass="VLCStatusLabel">
<rect key="frame" x="83" y="29" width="177" height="21"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<label hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Downloading..." lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" useAutomaticPreferredMaxLayoutWidth="YES" translatesAutoresizingMaskIntoConstraints="NO" id="28" customClass="VLCStatusLabel">
<rect key="frame" x="86" y="29.5" width="174" height="20.5"/>
<animations/>
<color key="backgroundColor" red="0.1215686275" green="0.1215686275" blue="0.1215686275" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
<color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</label>
</subviews>
<animations/>
<color key="backgroundColor" red="0.1215686275" green="0.1215686275" blue="0.1215686275" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstItem="25" firstAttribute="leading" secondItem="28" secondAttribute="trailing" constant="8" id="12u-IH-ZPE"/>
<constraint firstItem="28" firstAttribute="leading" secondItem="4" secondAttribute="trailing" constant="14" id="4bV-pd-tGd"/>
<constraint firstItem="4" firstAttribute="leading" secondItem="vO8-D6-6WE" secondAttribute="leadingMargin" id="75W-cF-tF5"/>
<constraint firstAttribute="trailingMargin" secondItem="23" secondAttribute="trailing" constant="-3" id="IOP-Jo-nQx"/>
<constraint firstItem="25" firstAttribute="leading" secondItem="7" secondAttribute="trailing" constant="8" id="IdM-50-HWH"/>
<constraint firstItem="23" firstAttribute="leading" secondItem="4" secondAttribute="trailing" constant="14" id="Qbs-aq-4zn"/>
<constraint firstAttribute="bottomMargin" secondItem="7" secondAttribute="bottom" constant="12.5" id="WDs-dt-31m"/>
<constraint firstItem="4" firstAttribute="centerY" secondItem="vO8-D6-6WE" secondAttribute="centerY" id="Xb4-YT-0Df"/>
<constraint firstItem="25" firstAttribute="leading" secondItem="6" secondAttribute="trailing" constant="8" id="bxT-tk-BAO"/>
<constraint firstItem="6" firstAttribute="leading" secondItem="4" secondAttribute="trailing" constant="14" id="cWa-i4-gN9"/>
<constraint firstItem="6" firstAttribute="top" secondItem="vO8-D6-6WE" secondAttribute="topMargin" constant="13" id="g2h-pd-yp7"/>
<constraint firstItem="25" firstAttribute="centerY" secondItem="vO8-D6-6WE" secondAttribute="centerY" id="j3U-r9-94Z"/>
<constraint firstItem="23" firstAttribute="centerY" secondItem="vO8-D6-6WE" secondAttribute="centerY" id="rez-ra-UAr"/>
<constraint firstItem="7" firstAttribute="leading" secondItem="4" secondAttribute="trailing" constant="14" id="rsm-Ag-2aJ"/>
<constraint firstAttribute="trailingMargin" secondItem="25" secondAttribute="trailing" constant="12" id="szI-Ek-StH"/>
<constraint firstItem="28" firstAttribute="centerY" secondItem="vO8-D6-6WE" secondAttribute="centerY" id="uzi-qT-Y7F"/>
</constraints>
</tableViewCellContentView>
<animations/>
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
<connections>
<outlet property="downloadButton" destination="25" id="26"/>
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="8121.17" systemVersion="14E33b" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9058" systemVersion="15B30a" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="iOS"/>
<development version="5000" identifier="xcode"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8101.14"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9048"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
......@@ -11,40 +13,48 @@
<rect key="frame" x="0.0" y="0.0" width="320" height="68"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="3" id="qo4-sr-qnV">
<rect key="frame" x="0.0" y="0.0" width="320" height="67"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="67.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" id="4">
<rect key="frame" x="3" y="9" width="50" height="50"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" translatesAutoresizingMaskIntoConstraints="NO" id="4">
<rect key="frame" x="8" y="9" width="50" height="50"/>
<animations/>
<constraints>
<constraint firstAttribute="width" constant="50" id="4Vq-gO-XLC"/>
<constraint firstAttribute="height" constant="50" id="a8P-bS-TpP"/>
</constraints>
</imageView>
<label clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="File Title" lineBreakMode="wordWrap" baselineAdjustment="none" minimumScaleFactor="0.5" id="6">
<rect key="frame" x="62" y="18" width="220" height="18"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<label clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="File Title" lineBreakMode="wordWrap" baselineAdjustment="none" minimumScaleFactor="0.5" useAutomaticPreferredMaxLayoutWidth="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6">
<rect key="frame" x="67" y="18" width="215" height="17"/>
<animations/>
<color key="backgroundColor" red="0.1052877679" green="0.1052846164" blue="0.1052864045" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</label>
<label clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Folder Title" lineBreakMode="wordWrap" baselineAdjustment="none" minimumScaleFactor="0.5" id="23">
<rect key="frame" x="62" y="26" width="220" height="18"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<label clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Folder Title" lineBreakMode="wordWrap" baselineAdjustment="none" minimumScaleFactor="0.5" useAutomaticPreferredMaxLayoutWidth="YES" translatesAutoresizingMaskIntoConstraints="NO" id="23">
<rect key="frame" x="67" y="25.5" width="215" height="17"/>
<animations/>
<color key="backgroundColor" red="0.1052877679" green="0.1052846164" blue="0.1052864045" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</label>
<label clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Subtitle — Subtitle" lineBreakMode="wordWrap" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" id="7">
<rect key="frame" x="62" y="37" width="220" height="15"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<label clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Subtitle — Subtitle" lineBreakMode="wordWrap" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" useAutomaticPreferredMaxLayoutWidth="YES" translatesAutoresizingMaskIntoConstraints="NO" id="7">
<rect key="frame" x="67" y="37.5" width="215" height="14.5"/>
<animations/>
<color key="backgroundColor" red="0.1052877679" green="0.1052846164" blue="0.1052864045" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" white="0.71999999999999997" alpha="1" colorSpace="calibratedWhite"/>
<color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="25">
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="25">
<rect key="frame" x="283" y="18" width="32" height="32"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES"/>
<animations/>
<constraints>
<constraint firstAttribute="width" constant="32" id="b2E-BO-ESa"/>
<constraint firstAttribute="height" constant="32" id="jpk-NV-gaJ"/>
</constraints>
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
<state key="normal" image="download.png">
<color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="calibratedRGB"/>
......@@ -57,16 +67,42 @@
<action selector="triggerDownload:" destination="3" eventType="touchUpInside" id="26"/>
</connections>
</button>
<label hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Downloading..." textAlignment="center" lineBreakMode="wordWrap" baselineAdjustment="none" minimumScaleFactor="0.5" id="28" customClass="VLCStatusLabel">
<rect key="frame" x="62" y="26" width="220" height="18"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<label hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Downloading..." textAlignment="center" lineBreakMode="wordWrap" baselineAdjustment="none" minimumScaleFactor="0.5" useAutomaticPreferredMaxLayoutWidth="YES" translatesAutoresizingMaskIntoConstraints="NO" id="28" customClass="VLCStatusLabel">
<rect key="frame" x="67" y="25.5" width="215" height="18"/>
<animations/>
<color key="backgroundColor" red="0.1052877679" green="0.1052846164" blue="0.1052864045" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="18" id="Zr1-tM-Pyf"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</label>
</subviews>
<animations/>
<constraints>
<constraint firstItem="6" firstAttribute="leading" secondItem="4" secondAttribute="trailing" constant="9" id="0DO-SK-odg"/>
<constraint firstItem="25" firstAttribute="leading" secondItem="28" secondAttribute="trailing" constant="1" id="92h-C3-F0z"/>
<constraint firstItem="25" firstAttribute="leading" secondItem="6" secondAttribute="trailing" constant="1" id="Ayy-5N-RK6"/>
<constraint firstAttribute="bottomMargin" secondItem="4" secondAttribute="bottom" constant="0.5" id="IRG-mI-IkY"/>
<constraint firstItem="4" firstAttribute="top" secondItem="qo4-sr-qnV" secondAttribute="topMargin" constant="1" id="IYU-30-AGT"/>
<constraint firstItem="28" firstAttribute="leading" secondItem="4" secondAttribute="trailing" constant="9" id="J8A-tT-IKo"/>
<constraint firstItem="25" firstAttribute="leading" secondItem="28" secondAttribute="trailing" constant="1" id="Jp4-IN-8aX"/>
<constraint firstItem="25" firstAttribute="leading" secondItem="7" secondAttribute="trailing" constant="1" id="QZh-8N-eDW"/>
<constraint firstAttribute="bottomMargin" secondItem="7" secondAttribute="bottom" constant="7.5" id="Qo6-Gd-U30"/>
<constraint firstItem="23" firstAttribute="leading" secondItem="4" secondAttribute="trailing" constant="9" id="UI8-4U-dR0"/>
<constraint firstAttribute="bottomMargin" secondItem="25" secondAttribute="bottom" constant="9.5" id="Zj0-99-Jyc"/>
<constraint firstItem="6" firstAttribute="top" secondItem="qo4-sr-qnV" secondAttribute="topMargin" constant="10" id="csN-tj-rK0"/>
<constraint firstItem="7" firstAttribute="leading" secondItem="4" secondAttribute="trailing" constant="9" id="dJZ-l3-7bi"/>
<constraint firstItem="28" firstAttribute="centerY" secondItem="qo4-sr-qnV" secondAttribute="centerY" id="jOz-Wg-wfW"/>
<constraint firstItem="23" firstAttribute="centerY" secondItem="qo4-sr-qnV" secondAttribute="centerY" id="nw8-Li-eEV"/>
<constraint firstAttribute="trailingMargin" secondItem="25" secondAttribute="trailing" constant="-3" id="rSC-hz-6v1"/>
<constraint firstItem="25" firstAttribute="leading" secondItem="23" secondAttribute="trailing" constant="1" id="tgu-vZ-Xqk"/>
<constraint firstItem="25" firstAttribute="top" secondItem="qo4-sr-qnV" secondAttribute="topMargin" constant="10" id="y0I-qt-yj9"/>
<constraint firstItem="4" firstAttribute="leading" secondItem="qo4-sr-qnV" secondAttribute="leadingMargin" id="zXF-XV-IEW"/>
</constraints>
</tableViewCellContentView>
<animations/>
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
<connections>
<outlet property="downloadButton" destination="25" id="27"/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment