Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladiMihaylenko <vxmihaylenko@gmail.com>2017-01-19 17:26:58 +0300
committerИлья Гречухин <i.grechuhin@gmail.com>2017-01-19 17:45:16 +0300
commitdad7b01b4d263f9e15d7763c4d5353aceb493f68 (patch)
tree09aca6bd8ca4804e6587226aa52959c012fb0b29
parent2098dcc50486eb9e88fa5ece3ab281f07db63f5c (diff)
[ios] Fixed place page's direction layout.beta-578
-rw-r--r--iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPAddress.xib16
-rw-r--r--iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPExternalTitle.xib16
-rw-r--r--iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPSchedule.xib16
-rw-r--r--iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPSpace.xib10
-rw-r--r--iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPSubtitle.xib21
-rw-r--r--iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPTitle.xib16
6 files changed, 69 insertions, 26 deletions
diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPAddress.xib b/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPAddress.xib
index f34e9f1869..414c6d061e 100644
--- a/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPAddress.xib
+++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPAddress.xib
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11201" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16C67" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
+ <device id="retina4_7" orientation="portrait">
+ <adaptation id="fullscreen"/>
+ </device>
<dependencies>
<deployment version="2048" identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
@@ -13,12 +16,14 @@
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="bz2-BF-3Qa" id="kgP-ci-4Fj">
- <frame key="frameInset" width="320" height="43"/>
+ <rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9gi-wZ-XKX" userLabel="Distance Box">
+ <rect key="frame" x="284" y="7" width="20" height="18"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cd6-XD-cgT" userLabel="Distance">
+ <rect key="frame" x="20" y="0.0" width="0.0" height="18"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
@@ -28,6 +33,7 @@
</userDefinedRuntimeAttributes>
</label>
<imageView autoresizesSubviews="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="img_direction_light" translatesAutoresizingMaskIntoConstraints="NO" id="6X7-5b-1LS">
+ <rect key="frame" x="0.0" y="0.0" width="18" height="18"/>
<constraints>
<constraint firstAttribute="width" constant="18" id="etq-ix-y8Q"/>
<constraint firstAttribute="height" constant="18" id="oIE-af-K5z"/>
@@ -37,6 +43,7 @@
</userDefinedRuntimeAttributes>
</imageView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="emj-Ea-I28">
+ <rect key="frame" x="-5" y="-5" width="30" height="28"/>
<connections>
<action selector="tap" destination="bz2-BF-3Qa" eventType="touchUpInside" id="lKr-5F-clu"/>
</connections>
@@ -57,7 +64,8 @@
<constraint firstItem="6X7-5b-1LS" firstAttribute="leading" secondItem="9gi-wZ-XKX" secondAttribute="leading" id="zzQ-fy-Dvi"/>
</constraints>
</view>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="249" verticalHuggingPriority="750" text="Addresss" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g80-iK-Lm4">
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalCompressionResistancePriority="400" text="Addresss" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g80-iK-Lm4">
+ <rect key="frame" x="16" y="7" width="296" height="36.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPExternalTitle.xib b/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPExternalTitle.xib
index 650cf35dbd..8429f4c9e6 100644
--- a/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPExternalTitle.xib
+++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPExternalTitle.xib
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11201" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16C67" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
+ <device id="retina4_7" orientation="portrait">
+ <adaptation id="fullscreen"/>
+ </device>
<dependencies>
<deployment version="2048" identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
@@ -13,12 +16,14 @@
<rect key="frame" x="0.0" y="0.0" width="320" height="24"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="BGG-6x-Yz5" id="qw4-Pb-AUe">
- <frame key="frameInset" width="320" height="23"/>
+ <rect key="frame" x="0.0" y="0.0" width="320" height="23"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ugv-HY-Iyx" userLabel="Distance Box">
+ <rect key="frame" x="284" y="3" width="20" height="20.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jbK-sR-5wO" userLabel="Distance">
+ <rect key="frame" x="20" y="0.0" width="0.0" height="20.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
@@ -28,6 +33,7 @@
</userDefinedRuntimeAttributes>
</label>
<imageView autoresizesSubviews="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="img_direction_light" translatesAutoresizingMaskIntoConstraints="NO" id="fMx-Ih-zpI">
+ <rect key="frame" x="0.0" y="1.5" width="18" height="18"/>
<constraints>
<constraint firstAttribute="height" constant="18" id="hit-p4-SsN"/>
<constraint firstAttribute="width" constant="18" id="vbS-mH-WZh"/>
@@ -37,6 +43,7 @@
</userDefinedRuntimeAttributes>
</imageView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="x01-my-vQm">
+ <rect key="frame" x="-5" y="-5" width="30" height="30.5"/>
<connections>
<action selector="tap" destination="BGG-6x-Yz5" eventType="touchUpInside" id="aJO-iw-sDX"/>
</connections>
@@ -56,7 +63,8 @@
<constraint firstAttribute="trailing" secondItem="x01-my-vQm" secondAttribute="trailing" constant="-5" id="pi7-Sw-6oy"/>
</constraints>
</view>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="249" verticalHuggingPriority="900" text="External title" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="RVZ-XQ-Hc9">
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalCompressionResistancePriority="400" text="External title" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="RVZ-XQ-Hc9">
+ <rect key="frame" x="16" y="4" width="296" height="19.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPSchedule.xib b/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPSchedule.xib
index 02a18942ce..f869525bb1 100644
--- a/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPSchedule.xib
+++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPSchedule.xib
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11201" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16C67" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
+ <device id="retina4_7" orientation="portrait">
+ <adaptation id="fullscreen"/>
+ </device>
<dependencies>
<deployment version="2048" identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
@@ -13,12 +16,14 @@
<rect key="frame" x="0.0" y="0.0" width="320" height="24"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="HVA-4K-8ma" id="Vj6-NH-gE1">
- <frame key="frameInset" width="320" height="23"/>
+ <rect key="frame" x="0.0" y="0.0" width="320" height="23"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="BQA-1t-HxB" userLabel="Distance Box">
+ <rect key="frame" x="284" y="3" width="20" height="20.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AH1-ti-uSf" userLabel="Distance">
+ <rect key="frame" x="20" y="0.0" width="0.0" height="20.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
@@ -28,6 +33,7 @@
</userDefinedRuntimeAttributes>
</label>
<imageView autoresizesSubviews="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="img_direction_light" translatesAutoresizingMaskIntoConstraints="NO" id="Mh6-ds-8hz">
+ <rect key="frame" x="0.0" y="1.5" width="18" height="18"/>
<constraints>
<constraint firstAttribute="width" constant="18" id="mDC-c5-T3v"/>
<constraint firstAttribute="height" constant="18" id="pxH-l7-BCW"/>
@@ -37,6 +43,7 @@
</userDefinedRuntimeAttributes>
</imageView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="yNm-lW-0oC">
+ <rect key="frame" x="-5" y="-5" width="30" height="30.5"/>
<connections>
<action selector="tap" destination="HVA-4K-8ma" eventType="touchUpInside" id="hq0-gd-ARQ"/>
</connections>
@@ -56,7 +63,8 @@
<constraint firstItem="yNm-lW-0oC" firstAttribute="top" secondItem="BQA-1t-HxB" secondAttribute="top" constant="-5" id="mjC-h8-pm4"/>
</constraints>
</view>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="249" verticalHuggingPriority="900" text="Schedule" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fDX-g2-0au">
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalCompressionResistancePriority="400" text="Schedule" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fDX-g2-0au">
+ <rect key="frame" x="16" y="4" width="296" height="19"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPSpace.xib b/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPSpace.xib
index cdd336490e..51b746b206 100644
--- a/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPSpace.xib
+++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPSpace.xib
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11201" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16C67" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
+ <device id="retina4_7" orientation="portrait">
+ <adaptation id="fullscreen"/>
+ </device>
<dependencies>
<deployment identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -12,10 +15,11 @@
<rect key="frame" x="0.0" y="0.0" width="375" height="16"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="e80-Up-JKd" id="Ko3-Cf-A8Q">
- <frame key="frameInset" width="375" height="15"/>
+ <rect key="frame" x="0.0" y="0.0" width="375" height="15"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Xvd-Wu-4VH">
+ <rect key="frame" x="0.0" y="0.0" width="375" height="15.5"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="height" priority="750" constant="15" id="da2-0A-6d4"/>
diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPSubtitle.xib b/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPSubtitle.xib
index 858227366c..1fbdfd9812 100644
--- a/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPSubtitle.xib
+++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPSubtitle.xib
@@ -1,9 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11201" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16C67" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
+ <device id="retina4_7" orientation="portrait">
+ <adaptation id="fullscreen"/>
+ </device>
<dependencies>
<deployment version="2048" identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
- <capability name="Constraints to layout margins" minToolsVersion="6.0"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -13,12 +15,14 @@
<rect key="frame" x="0.0" y="0.0" width="320" height="27"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="uPP-a7-pwR" id="32Q-dS-DC0">
- <frame key="frameInset" width="320" height="26"/>
+ <rect key="frame" x="0.0" y="0.0" width="320" height="26"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eHp-si-h1T" userLabel="Distance Box">
+ <rect key="frame" x="284" y="3" width="20" height="23.5"/>
<subviews>
<imageView autoresizesSubviews="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="img_direction_light" translatesAutoresizingMaskIntoConstraints="NO" id="620-0b-Nbi">
+ <rect key="frame" x="0.0" y="3" width="18" height="18"/>
<constraints>
<constraint firstAttribute="width" constant="18" id="EYu-Yt-Z9j"/>
<constraint firstAttribute="height" constant="18" id="xku-Qh-If4"/>
@@ -28,6 +32,7 @@
</userDefinedRuntimeAttributes>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3iA-1v-7Ro" userLabel="Distance">
+ <rect key="frame" x="20" y="0.0" width="0.0" height="23.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
@@ -37,6 +42,7 @@
</userDefinedRuntimeAttributes>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gea-it-ngb">
+ <rect key="frame" x="-5" y="-5" width="30" height="33.5"/>
<connections>
<action selector="tap" destination="uPP-a7-pwR" eventType="touchUpInside" id="iJ2-82-TB8"/>
</connections>
@@ -56,7 +62,8 @@
<constraint firstItem="gea-it-ngb" firstAttribute="leading" secondItem="eHp-si-h1T" secondAttribute="leading" constant="-5" id="YQf-DD-Sp6"/>
</constraints>
</view>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="249" verticalHuggingPriority="900" text="Subtitle" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7eI-u4-YYe">
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalCompressionResistancePriority="400" text="Subtitle" textAlignment="natural" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7eI-u4-YYe">
+ <rect key="frame" x="16" y="4" width="288" height="22"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
@@ -68,13 +75,13 @@
</subviews>
<constraints>
<constraint firstAttribute="bottom" secondItem="7eI-u4-YYe" secondAttribute="bottom" constant="0.5" id="0so-Rm-Uaw"/>
+ <constraint firstItem="eHp-si-h1T" firstAttribute="leading" secondItem="7eI-u4-YYe" secondAttribute="trailing" priority="500" constant="8" id="PyS-G6-ga0"/>
<constraint firstItem="eHp-si-h1T" firstAttribute="top" secondItem="32Q-dS-DC0" secondAttribute="top" constant="3" id="XCo-E2-dlj"/>
- <constraint firstAttribute="trailingMargin" secondItem="7eI-u4-YYe" secondAttribute="trailing" priority="750" id="Xy5-rf-Gp5"/>
+ <constraint firstAttribute="trailing" secondItem="7eI-u4-YYe" secondAttribute="trailing" priority="750" constant="16" id="Xy5-rf-Gp5"/>
<constraint firstItem="7eI-u4-YYe" firstAttribute="top" secondItem="32Q-dS-DC0" secondAttribute="top" constant="4" id="d6c-V2-5sp"/>
<constraint firstAttribute="bottom" secondItem="eHp-si-h1T" secondAttribute="bottom" id="fVo-GO-rno"/>
<constraint firstItem="7eI-u4-YYe" firstAttribute="leading" secondItem="32Q-dS-DC0" secondAttribute="leading" constant="16" id="t4R-SJ-7gL"/>
<constraint firstAttribute="trailing" secondItem="eHp-si-h1T" secondAttribute="trailing" constant="16" id="xVy-Vw-zeg"/>
- <constraint firstItem="eHp-si-h1T" firstAttribute="leading" secondItem="7eI-u4-YYe" secondAttribute="trailing" priority="500" constant="8" id="zrW-8g-wwY"/>
</constraints>
</tableViewCellContentView>
<connections>
diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPTitle.xib b/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPTitle.xib
index e68bdad64c..c9a8dc8e0e 100644
--- a/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPTitle.xib
+++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/Preview/_MWMPPPTitle.xib
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11201" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16C67" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
+ <device id="retina4_7" orientation="portrait">
+ <adaptation id="fullscreen"/>
+ </device>
<dependencies>
<deployment version="2048" identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
@@ -13,12 +16,14 @@
<rect key="frame" x="0.0" y="0.0" width="320" height="24"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="pV6-Se-WUl" id="9Ek-CZ-WD2">
- <frame key="frameInset" width="320" height="23"/>
+ <rect key="frame" x="0.0" y="0.0" width="320" height="23"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="BgA-ZV-xGI" userLabel="Distance Box">
+ <rect key="frame" x="284" y="2" width="20" height="21"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tje-bl-3qK" userLabel="Distance">
+ <rect key="frame" x="20" y="0.0" width="0.0" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
@@ -28,6 +33,7 @@
</userDefinedRuntimeAttributes>
</label>
<imageView autoresizesSubviews="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="img_direction_light" translatesAutoresizingMaskIntoConstraints="NO" id="inB-r2-gZY">
+ <rect key="frame" x="0.0" y="1.5" width="18" height="18"/>
<constraints>
<constraint firstAttribute="height" constant="18" id="d1E-GX-j1p"/>
<constraint firstAttribute="width" constant="18" id="g8L-eM-FqL"/>
@@ -37,6 +43,7 @@
</userDefinedRuntimeAttributes>
</imageView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7CY-hu-3fB">
+ <rect key="frame" x="-5" y="-5" width="30" height="31"/>
<connections>
<action selector="tap" destination="pV6-Se-WUl" eventType="touchUpInside" id="Z6X-sJ-PhT"/>
</connections>
@@ -56,7 +63,8 @@
<constraint firstItem="7CY-hu-3fB" firstAttribute="top" secondItem="BgA-ZV-xGI" secondAttribute="top" constant="-5" id="yk9-Ak-ySR"/>
</constraints>
</view>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="249" verticalHuggingPriority="900" text="Title" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="reR-BO-1en">
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalCompressionResistancePriority="400" text="Title" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="reR-BO-1en">
+ <rect key="frame" x="16" y="3" width="296" height="20"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>