Skip to content

Commit

Permalink
fixed auto layout constraints for directions label
Browse files Browse the repository at this point in the history
  • Loading branch information
dg0yal committed Aug 5, 2014
1 parent 681d804 commit 07ddbd2
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Routing Tutorial/MyFirstMapApp/Main_iPhone.storyboard
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="5053" systemVersion="14A261i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="JhP-wa-XIf">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="5053" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="JhP-wa-XIf">
<dependencies>
<deployment defaultVersion="1536" identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
Expand Down Expand Up @@ -61,11 +61,11 @@
</items>
<color key="tintColor" red="0.29803922770000002" green="0.29803922770000002" blue="0.29803922770000002" alpha="1" colorSpace="calibratedRGB"/>
</toolbar>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="" textAlignment="center" lineBreakMode="wordWrap" numberOfLines="2" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="sZ6-ae-QYG" userLabel="Directions Label">
<rect key="frame" x="160" y="583" width="0.0" height="44"/>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="" textAlignment="center" lineBreakMode="wordWrap" numberOfLines="2" baselineAdjustment="alignBaselines" minimumFontSize="9" preferredMaxLayoutWidth="320" translatesAutoresizingMaskIntoConstraints="NO" id="sZ6-ae-QYG" userLabel="Directions Label">
<rect key="frame" x="0.0" y="524" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
</subviews>
Expand All @@ -76,10 +76,11 @@
<constraint firstItem="5S9-1M-y5u" firstAttribute="width" secondItem="mLo-Oo-nBS" secondAttribute="width" id="Aa0-dC-YDj"/>
<constraint firstItem="pNF-Qt-dAB" firstAttribute="bottom" secondItem="3fE-su-fpO" secondAttribute="top" id="PSH-4L-xNo"/>
<constraint firstItem="3fE-su-fpO" firstAttribute="height" secondItem="sZ6-ae-QYG" secondAttribute="height" id="Vau-Bg-RiX"/>
<constraint firstItem="3fE-su-fpO" firstAttribute="centerY" secondItem="sZ6-ae-QYG" secondAttribute="centerY" constant="-59" id="YuZ-Iy-q3A"/>
<constraint firstItem="3fE-su-fpO" firstAttribute="centerY" secondItem="sZ6-ae-QYG" secondAttribute="centerY" id="YuZ-Iy-q3A"/>
<constraint firstItem="3fE-su-fpO" firstAttribute="leading" secondItem="mLo-Oo-nBS" secondAttribute="leading" id="awv-t3-5CZ"/>
<constraint firstItem="pNF-Qt-dAB" firstAttribute="top" secondItem="5S9-1M-y5u" secondAttribute="bottom" id="cGN-Ad-2Tc"/>
<constraint firstAttribute="centerX" secondItem="pNF-Qt-dAB" secondAttribute="centerX" id="ccg-hz-cwK"/>
<constraint firstItem="3fE-su-fpO" firstAttribute="width" secondItem="sZ6-ae-QYG" secondAttribute="width" id="eNW-wD-bvE"/>
<constraint firstItem="3eN-E2-sNs" firstAttribute="top" secondItem="3fE-su-fpO" secondAttribute="bottom" id="mTz-2k-ajV"/>
<constraint firstAttribute="width" secondItem="3fE-su-fpO" secondAttribute="width" id="q6L-e9-yJ9"/>
<constraint firstItem="pNF-Qt-dAB" firstAttribute="width" secondItem="mLo-Oo-nBS" secondAttribute="width" id="tPz-NB-d1q"/>
Expand All @@ -91,6 +92,8 @@
<connections>
<outlet property="directionsLabel" destination="sZ6-ae-QYG" id="V4G-GD-iHs"/>
<outlet property="mapView" destination="pNF-Qt-dAB" id="fDN-Au-OYn"/>
<outlet property="nextBtn" destination="rRb-Tg-Wor" id="FJD-dC-PRC"/>
<outlet property="prevBtn" destination="EpQ-Wj-rv0" id="Oov-SS-lrk"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="T3E-OT-W6W" userLabel="First Responder" sceneMemberID="firstResponder"/>
Expand Down

0 comments on commit 07ddbd2

Please sign in to comment.