Skip to content

Commit ab60fb8

Browse files
committed
SummaryTVC: Use exact 16 pts margins instead of iOS-provided margins
1 parent bb2688f commit ab60fb8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

WooCommerce/Classes/ViewRelated/Orders/Order Details/Order Summary Section/SummaryTableViewCell.xib

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,25 @@
1818
<autoresizingMask key="autoresizingMask"/>
1919
<subviews>
2020
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Created eons ago at 9:51" textAlignment="natural" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Kz9-1h-fRY">
21-
<rect key="frame" x="15" y="11" width="290" height="16"/>
21+
<rect key="frame" x="16" y="16" width="288" height="16"/>
2222
<fontDescription key="fontDescription" style="UICTFontTextStyleFootnote"/>
2323
<nil key="textColor"/>
2424
<nil key="highlightedColor"/>
2525
</label>
2626
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" text="#00 Jane Doe" textAlignment="natural" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VuR-wG-Bbc">
27-
<rect key="frame" x="15" y="35" width="290" height="38"/>
27+
<rect key="frame" x="16" y="40" width="288" height="28"/>
2828
<fontDescription key="fontDescription" style="UICTFontTextStyleHeadline"/>
2929
<nil key="textColor"/>
3030
<nil key="highlightedColor"/>
3131
</label>
3232
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="740" text="Processing" textAlignment="natural" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uIV-Sn-Yeh" customClass="PaddedLabel" customModule="WooCommerce" customModuleProvider="target">
33-
<rect key="frame" x="15" y="81" width="67" height="16"/>
33+
<rect key="frame" x="16" y="76" width="67" height="16"/>
3434
<fontDescription key="fontDescription" style="UICTFontTextStyleFootnote"/>
3535
<nil key="textColor"/>
3636
<nil key="highlightedColor"/>
3737
</label>
3838
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0jq-dU-DSt">
39-
<rect key="frame" x="285" y="79" width="20" height="20"/>
39+
<rect key="frame" x="284" y="74" width="20" height="20"/>
4040
<constraints>
4141
<constraint firstAttribute="width" secondItem="0jq-dU-DSt" secondAttribute="height" multiplier="1:1" id="JlF-NG-SGG"/>
4242
<constraint firstAttribute="width" constant="20" id="weV-me-Oj4"/>
@@ -47,16 +47,16 @@
4747
<constraints>
4848
<constraint firstItem="0jq-dU-DSt" firstAttribute="centerY" secondItem="uIV-Sn-Yeh" secondAttribute="centerY" id="0cI-jv-Lbj"/>
4949
<constraint firstItem="Kz9-1h-fRY" firstAttribute="leading" secondItem="VuR-wG-Bbc" secondAttribute="leading" id="0iO-Eg-LvT"/>
50-
<constraint firstAttribute="bottomMargin" secondItem="uIV-Sn-Yeh" secondAttribute="bottom" id="3OU-Nl-wcg"/>
50+
<constraint firstAttribute="bottom" secondItem="uIV-Sn-Yeh" secondAttribute="bottom" constant="16" id="3OU-Nl-wcg"/>
5151
<constraint firstItem="uIV-Sn-Yeh" firstAttribute="top" secondItem="VuR-wG-Bbc" secondAttribute="bottom" constant="8" id="4yW-xe-vMw"/>
52-
<constraint firstItem="VuR-wG-Bbc" firstAttribute="trailing" secondItem="H2p-sc-9uM" secondAttribute="trailingMargin" id="ALe-dT-Iae"/>
52+
<constraint firstItem="VuR-wG-Bbc" firstAttribute="trailing" secondItem="H2p-sc-9uM" secondAttribute="trailing" constant="-16" id="ALe-dT-Iae"/>
5353
<constraint firstItem="VuR-wG-Bbc" firstAttribute="top" secondItem="Kz9-1h-fRY" secondAttribute="bottom" constant="8" id="B6Q-cI-ASJ"/>
5454
<constraint firstItem="0jq-dU-DSt" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="uIV-Sn-Yeh" secondAttribute="trailing" constant="16" id="GXV-DS-eh5"/>
5555
<constraint firstItem="Kz9-1h-fRY" firstAttribute="trailing" secondItem="VuR-wG-Bbc" secondAttribute="trailing" id="H8X-uc-vIl"/>
5656
<constraint firstItem="0jq-dU-DSt" firstAttribute="trailing" secondItem="VuR-wG-Bbc" secondAttribute="trailing" id="Yrn-9W-9Dw"/>
5757
<constraint firstItem="uIV-Sn-Yeh" firstAttribute="leading" secondItem="VuR-wG-Bbc" secondAttribute="leading" id="h9K-qI-gKu"/>
58-
<constraint firstItem="VuR-wG-Bbc" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" id="mSL-pS-fig"/>
59-
<constraint firstItem="Kz9-1h-fRY" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" id="uxx-qn-5Vc"/>
58+
<constraint firstItem="VuR-wG-Bbc" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="mSL-pS-fig"/>
59+
<constraint firstItem="Kz9-1h-fRY" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="16" id="uxx-qn-5Vc"/>
6060
</constraints>
6161
</tableViewCellContentView>
6262
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/>

0 commit comments

Comments
 (0)