Commit eb6d7d25 authored by Soomin Lee's avatar Soomin Lee Committed by Jean-Baptiste Kempf

VLCEmptyLibraryView.xib: Fix contraints for smaller screens

parent c4873b89
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14865.1" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina3_5" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14819.2"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="Stack View standard spacing" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleAspectFit" preservesSuperviewLayoutMargins="YES" id="112" customClass="VLCEmptyLibraryView">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="18" translatesAutoresizingMaskIntoConstraints="NO" id="141-gp-zTI" userLabel="Empty View">
<rect key="frame" x="24.5" y="152.5" width="326" height="382"/>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="141-gp-zTI" userLabel="Empty View">
<rect key="frame" x="16" y="95.5" width="288.5" height="289"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" image="VLCCone512x512.png" translatesAutoresizingMaskIntoConstraints="NO" id="115">
<rect key="frame" x="89.5" y="0.0" width="147" height="147"/>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" image="VLCCone512x512.png" translatesAutoresizingMaskIntoConstraints="NO" id="115">
<rect key="frame" x="81.5" y="0.0" width="125" height="125"/>
<constraints>
<constraint firstAttribute="width" relation="lessThanOrEqual" constant="250" id="51y-b0-uDd"/>
<constraint firstAttribute="width" secondItem="115" secondAttribute="height" multiplier="1:1" id="cc7-4o-L1f"/>
<constraint firstAttribute="width" secondItem="115" secondAttribute="height" multiplier="1:1" id="CBD-GI-kch"/>
<constraint firstAttribute="width" constant="125" id="SfO-5p-AOs"/>
<constraint firstAttribute="height" constant="125" id="pP3-Vx-XBT"/>
</constraints>
</imageView>
<stackView opaque="NO" contentMode="scaleAspectFit" axis="vertical" distribution="fillEqually" alignment="center" spacingType="standard" translatesAutoresizingMaskIntoConstraints="NO" id="hAg-Nw-10g" userLabel="Descriptions">
<rect key="frame" x="0.0" y="165" width="326" height="217"/>
<stackView opaque="NO" contentMode="scaleAspectFit" axis="vertical" alignment="center" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="hAg-Nw-10g" userLabel="Descriptions">
<rect key="frame" x="0.0" y="145" width="288.5" height="144"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Empty Media Library" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="114">
<rect key="frame" x="78.5" y="0.0" width="169" height="67"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
<rect key="frame" x="54" y="0.0" width="180" height="23"/>
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="19"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="center" textAlignment="center" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="vqV-xO-9Ez">
<rect key="frame" x="19" y="75" width="288.5" height="67"/>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="center" verticalHuggingPriority="249" verticalCompressionResistancePriority="751" textAlignment="center" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="vqV-xO-9Ez">
<rect key="frame" x="0.0" y="33" width="288.5" height="67"/>
<string key="text">For playback, you can stream media from a server on your local network, from the cloud or synchronize media to your device using iTunes, WiFi Upload or Cloud services.</string>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" red="0.72000002861022949" green="0.72000002861022949" blue="0.72000002861022949" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="A78-83-MhQ">
<rect key="frame" x="116" y="150" width="94" height="67"/>
<rect key="frame" x="97" y="110" width="94" height="34"/>
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
<state key="normal" title="Learn More">
<color key="titleColor" red="1" green="0.60783044529999997" blue="0.1420323705" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
......@@ -57,18 +55,13 @@
</subviews>
</stackView>
</subviews>
<constraints>
<constraint firstItem="115" firstAttribute="width" secondItem="hAg-Nw-10g" secondAttribute="width" multiplier="0.45" id="HnH-ba-fHc"/>
</constraints>
<viewLayoutGuide key="safeArea" id="whM-Tb-M9o"/>
<variation key="heightClass=compact" axis="horizontal"/>
</stackView>
</subviews>
<constraints>
<constraint firstItem="141-gp-zTI" firstAttribute="centerX" secondItem="1mU-bI-aIo" secondAttribute="centerX" id="Cdl-do-lNd"/>
<constraint firstItem="141-gp-zTI" firstAttribute="centerY" secondItem="1mU-bI-aIo" secondAttribute="centerY" id="ZrH-Xy-Fzq"/>
<constraint firstItem="141-gp-zTI" firstAttribute="height" secondItem="1mU-bI-aIo" secondAttribute="height" multiplier="0.55" priority="749" id="kIp-QD-bah"/>
<constraint firstItem="1mU-bI-aIo" firstAttribute="width" relation="greaterThanOrEqual" secondItem="141-gp-zTI" secondAttribute="width" multiplier="1.15" id="u8v-1a-vO0"/>
<constraint firstItem="141-gp-zTI" firstAttribute="centerY" secondItem="1mU-bI-aIo" secondAttribute="centerY" id="CpN-VR-Hat"/>
<constraint firstItem="141-gp-zTI" firstAttribute="centerX" secondItem="1mU-bI-aIo" secondAttribute="centerX" id="bBv-fo-6gn"/>
</constraints>
<viewLayoutGuide key="safeArea" id="1mU-bI-aIo"/>
<connections>
......
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