Skip to content

Commit 8db5f53

Browse files
authored
Merge pull request #438 from woocommerce/issue/19-dynamic-type
Notifications: Tweaked NoteTableViewCell for dynamic type
2 parents 784a5de + a8a1a58 commit 8db5f53

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

WooCommerce/Classes/ViewRelated/Notifications/Cells/NoteTableViewCell.xib

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,28 @@
1818
<rect key="frame" x="0.0" y="0.0" width="375" height="87.5"/>
1919
<autoresizingMask key="autoresizingMask"/>
2020
<subviews>
21-
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="-" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MDO-G5-bNl">
22-
<rect key="frame" x="14" y="11" width="25" height="20.5"/>
21+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="-" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MDO-G5-bNl">
22+
<rect key="frame" x="14" y="11" width="25" height="25"/>
2323
<constraints>
24-
<constraint firstAttribute="width" constant="25" id="Eqv-DJ-O5N"/>
24+
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="25" id="Eqv-DJ-O5N"/>
25+
<constraint firstAttribute="width" secondItem="MDO-G5-bNl" secondAttribute="height" multiplier="1:1" id="GCe-Ud-F7E"/>
2526
</constraints>
26-
<fontDescription key="fontDescription" type="system" pointSize="17"/>
27+
<fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
2728
<nil key="textColor"/>
2829
<nil key="highlightedColor"/>
2930
</label>
3031
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="3" translatesAutoresizingMaskIntoConstraints="NO" id="fNu-km-jyX">
31-
<rect key="frame" x="55" y="11" width="304" height="42"/>
32+
<rect key="frame" x="55" y="11" width="304" height="39.5"/>
3233
<subviews>
33-
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" text="Subject" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ow4-CR-HAI" userLabel="Subject Label">
34-
<rect key="frame" x="0.0" y="0.0" width="304" height="19.5"/>
35-
<fontDescription key="fontDescription" type="system" pointSize="16"/>
34+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" text="Subject" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ow4-CR-HAI" userLabel="Subject Label">
35+
<rect key="frame" x="0.0" y="0.0" width="304" height="20.5"/>
36+
<fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
3637
<nil key="textColor"/>
3738
<nil key="highlightedColor"/>
3839
</label>
39-
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="752" text="Snippet" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JQs-0C-rb6" userLabel="Snippet Label">
40-
<rect key="frame" x="0.0" y="22.5" width="304" height="19.5"/>
41-
<fontDescription key="fontDescription" type="system" pointSize="16"/>
40+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="752" text="Snippet" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JQs-0C-rb6" userLabel="Snippet Label">
41+
<rect key="frame" x="0.0" y="23.5" width="304" height="16"/>
42+
<fontDescription key="fontDescription" style="UICTFontTextStyleFootnote"/>
4243
<nil key="textColor"/>
4344
<nil key="highlightedColor"/>
4445
</label>

0 commit comments

Comments
 (0)