diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2017-09-03 01:42:28 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2017-09-03 01:43:19 +0300 |
commit | fd09ba229564932a472f9bebf3928e1d707da630 (patch) | |
tree | 34b58609b2c99e72c1fd832028927623b6458d59 | |
parent | 5f785d062fb1bbf671ccfa87adce44b0b8801cf1 (diff) |
MUCertificateCreationProgressView: re-work to scale to newer screen sizes.
-rw-r--r-- | Source/Classes/MUCertificateCreationProgressView.xib | 69 |
1 files changed, 39 insertions, 30 deletions
diff --git a/Source/Classes/MUCertificateCreationProgressView.xib b/Source/Classes/MUCertificateCreationProgressView.xib index f5ae35c..d33819f 100644 --- a/Source/Classes/MUCertificateCreationProgressView.xib +++ b/Source/Classes/MUCertificateCreationProgressView.xib @@ -1,8 +1,12 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="4514" systemVersion="13C64" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none"> +<?xml version="1.0" encoding="UTF-8"?> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11542" systemVersion="16D32" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES"> + <device id="retina4_7" orientation="portrait"> + <adaptation id="fullscreen"/> + </device> <dependencies> - <deployment defaultVersion="1296" identifier="iOS"/> - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3747"/> + <deployment identifier="iOS"/> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11524"/> + <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <objects> <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="MUCertificateCreationProgressView"> @@ -20,55 +24,60 @@ <rect key="frame" x="0.0" y="0.0" width="320" height="480"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <userGuides> - <userLayoutGuide location="208" affinity="minY"/> + <userLayoutGuide location="204" affinity="minY"/> <userLayoutGuide location="161" affinity="minX"/> </userGuides> <subviews> - <imageView userInteractionEnabled="NO" contentMode="scaleToFill" id="27"> + <imageView userInteractionEnabled="NO" contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="27"> <rect key="frame" x="-1" y="0.0" width="321" height="480"/> - <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" heightSizable="YES" flexibleMaxY="YES"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> </imageView> - <activityIndicatorView opaque="NO" contentMode="scaleToFill" style="whiteLarge" id="3"> + <activityIndicatorView opaque="NO" contentMode="scaleToFill" fixedFrame="YES" style="whiteLarge" translatesAutoresizingMaskIntoConstraints="NO" id="3"> <rect key="frame" x="141" y="257" width="37" height="37"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> + <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES"/> </activityIndicatorView> - <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Please Wait..." textAlignment="center" lineBreakMode="characterWrap" minimumFontSize="10" adjustsFontSizeToFit="NO" id="10"> + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" fixedFrame="YES" text="Please Wait..." textAlignment="center" lineBreakMode="characterWrap" minimumFontSize="10" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="10"> <rect key="frame" x="0.0" y="311" width="319" height="35"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> + <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES"/> <fontDescription key="fontDescription" name="Helvetica-Bold" family="Helvetica" pointSize="17"/> - <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> - <color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/> - <color key="shadowColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> + <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> + <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> + <color key="shadowColor" red="0.33333333333333331" green="0.33333333333333331" blue="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <size key="shadowOffset" width="1" height="1"/> </label> - <imageView opaque="NO" userInteractionEnabled="NO" contentMode="scaleAspectFill" image="certificatecreation.png" id="13"> + <imageView opaque="NO" userInteractionEnabled="NO" contentMode="scaleAspectFill" fixedFrame="YES" image="certificatecreation.png" translatesAutoresizingMaskIntoConstraints="NO" id="13"> <rect key="frame" x="96" y="29" width="128" height="128"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> + <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES"/> </imageView> - <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Name" textAlignment="center" lineBreakMode="characterWrap" minimumFontSize="10" adjustsFontSizeToFit="NO" id="14"> - <rect key="frame" x="-1" y="191" width="320" height="25"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" fixedFrame="YES" text="Name" textAlignment="center" lineBreakMode="characterWrap" minimumFontSize="10" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="14"> + <rect key="frame" x="0.0" y="191" width="320" height="25"/> + <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES"/> <fontDescription key="fontDescription" name="Helvetica-Bold" family="Helvetica" pointSize="17"/> - <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> - <color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/> - <color key="shadowColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> + <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> + <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> + <color key="shadowColor" red="0.33333333333333331" green="0.33333333333333331" blue="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <size key="shadowOffset" width="1" height="1"/> </label> - <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="<test@example.com>" textAlignment="center" lineBreakMode="characterWrap" minimumFontSize="10" adjustsFontSizeToFit="NO" id="15"> + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" fixedFrame="YES" text="<test@example.com>" textAlignment="center" lineBreakMode="characterWrap" minimumFontSize="10" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="15"> <rect key="frame" x="0.0" y="208" width="320" height="25"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> + <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES"/> <fontDescription key="fontDescription" name="Helvetica-Bold" family="Helvetica" pointSize="13"/> - <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> - <color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/> - <color key="shadowColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> + <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> + <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> + <color key="shadowColor" red="0.33333333333333331" green="0.33333333333333331" blue="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <size key="shadowOffset" width="1" height="1"/> </label> </subviews> - <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/> - <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/> + <nil key="simulatedTopBarMetrics"/> + <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/> </view> </objects> <resources> <image name="certificatecreation.png" width="128" height="128"/> </resources> -</document>
\ No newline at end of file + <simulatedMetricsContainer key="defaultSimulatedMetrics"> + <simulatedStatusBarMetrics key="statusBar"/> + <simulatedOrientationMetrics key="orientation"/> + <simulatedScreenMetrics key="destination" type="retina4_7.fullscreen"/> + </simulatedMetricsContainer> +</document> |