зеркало из https://github.com/xamarin/ios-samples.git
[Chat] play with text sizing
Xamarin.iOS 8.8.2.4
This commit is contained in:
Родитель
027c7b4c71
Коммит
60a6a47dc1
|
@ -57,10 +57,10 @@
|
|||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="GIN-Pf-bwk">
|
||||
<rect key="frame" x="8" y="10" width="224" height="23"/>
|
||||
<rect key="frame" x="8" y="10" width="217" height="23"/>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="800" verticalHuggingPriority="251" ambiguous="YES" text="[Incoming Message Text]" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4rp-4j-hbr">
|
||||
<rect key="frame" x="28" y="20" width="191" height="3"/>
|
||||
<rect key="frame" x="24" y="20" width="192" height="3"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
|
@ -71,9 +71,9 @@
|
|||
<constraint firstItem="4rp-4j-hbr" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="GIN-Pf-bwk" secondAttribute="leading" constant="16" id="2fy-ns-22i"/>
|
||||
<constraint firstItem="4rp-4j-hbr" firstAttribute="top" secondItem="GIN-Pf-bwk" secondAttribute="top" constant="10" id="3be-dg-yvH"/>
|
||||
<constraint firstAttribute="bottomMargin" secondItem="GIN-Pf-bwk" secondAttribute="bottom" constant="2" id="EwW-2t-IRx"/>
|
||||
<constraint firstItem="4rp-4j-hbr" firstAttribute="width" secondItem="T54-px-dWX" secondAttribute="width" multiplier="0.6" id="R19-Xw-IP1"/>
|
||||
<constraint firstItem="GIN-Pf-bwk" firstAttribute="bottom" secondItem="4rp-4j-hbr" secondAttribute="bottom" constant="10" id="WtX-1E-lAs"/>
|
||||
<constraint firstItem="4rp-4j-hbr" firstAttribute="centerX" secondItem="GIN-Pf-bwk" secondAttribute="centerX" constant="3" id="i0s-sw-3KD"/>
|
||||
<constraint firstItem="GIN-Pf-bwk" firstAttribute="width" relation="lessThanOrEqual" secondItem="T54-px-dWX" secondAttribute="width" multiplier="0.7" id="sTa-qg-Vew"/>
|
||||
<constraint firstItem="GIN-Pf-bwk" firstAttribute="top" secondItem="T54-px-dWX" secondAttribute="topMargin" constant="2" id="xS9-BK-Uo0"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
|
@ -82,17 +82,17 @@
|
|||
<outlet property="MessageText" destination="4rp-4j-hbr" id="Xkp-sF-NmZ"/>
|
||||
</connections>
|
||||
</tableViewCell>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="Outgoing" id="9mh-XI-5OU" customClass="OutgoingCell">
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="Outgoing" id="9mh-XI-5OU" customClass="OutgoingCell">
|
||||
<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="9mh-XI-5OU" id="YKz-rq-py9">
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="uh2-1T-SYq">
|
||||
<rect key="frame" x="95" y="8" width="217" height="27"/>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="uh2-1T-SYq">
|
||||
<rect key="frame" x="88" y="10" width="224" height="23"/>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="[Outgoing Message Text]" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5BP-uU-K6K">
|
||||
<rect key="frame" x="105" y="18" width="191" height="7"/>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="1000" verticalHuggingPriority="50" ambiguous="YES" misplaced="YES" text="[Outgoing Message Text]" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5BP-uU-K6K">
|
||||
<rect key="frame" x="102" y="20" width="191" height="3"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
|
@ -101,13 +101,12 @@
|
|||
<constraints>
|
||||
<constraint firstItem="5BP-uU-K6K" firstAttribute="top" secondItem="uh2-1T-SYq" secondAttribute="top" constant="10" id="0CJ-6I-VnL"/>
|
||||
<constraint firstItem="uh2-1T-SYq" firstAttribute="bottom" secondItem="5BP-uU-K6K" secondAttribute="bottom" constant="10" id="29O-yB-fGa"/>
|
||||
<constraint firstItem="uh2-1T-SYq" firstAttribute="trailing" secondItem="5BP-uU-K6K" secondAttribute="trailing" constant="16" id="3FO-2n-o0s"/>
|
||||
<constraint firstItem="uh2-1T-SYq" firstAttribute="top" secondItem="YKz-rq-py9" secondAttribute="topMargin" id="3qH-FE-a9Z"/>
|
||||
<constraint firstAttribute="bottomMargin" secondItem="uh2-1T-SYq" secondAttribute="bottom" id="9mZ-27-61x"/>
|
||||
<constraint firstItem="5BP-uU-K6K" firstAttribute="leading" secondItem="uh2-1T-SYq" secondAttribute="leading" constant="10" id="Ib8-uz-hnI"/>
|
||||
<constraint firstItem="5BP-uU-K6K" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="uh2-1T-SYq" secondAttribute="leading" constant="10" id="3FO-2n-o0s"/>
|
||||
<constraint firstItem="uh2-1T-SYq" firstAttribute="top" secondItem="YKz-rq-py9" secondAttribute="topMargin" constant="2" id="3qH-FE-a9Z"/>
|
||||
<constraint firstItem="5BP-uU-K6K" firstAttribute="width" relation="lessThanOrEqual" secondItem="YKz-rq-py9" secondAttribute="width" multiplier="0.6" id="4wv-dF-RQa"/>
|
||||
<constraint firstAttribute="bottomMargin" secondItem="uh2-1T-SYq" secondAttribute="bottom" constant="2" id="9mZ-27-61x"/>
|
||||
<constraint firstAttribute="trailingMargin" secondItem="uh2-1T-SYq" secondAttribute="trailing" id="N3l-8l-2p0"/>
|
||||
<constraint firstAttribute="centerY" secondItem="uh2-1T-SYq" secondAttribute="centerY" id="P6q-vR-HzU"/>
|
||||
<constraint firstItem="uh2-1T-SYq" firstAttribute="width" relation="lessThanOrEqual" secondItem="YKz-rq-py9" secondAttribute="width" multiplier="0.7" id="ja8-XN-4FO"/>
|
||||
<constraint firstItem="5BP-uU-K6K" firstAttribute="centerX" secondItem="uh2-1T-SYq" secondAttribute="centerX" constant="-3" id="O3T-zy-IVl"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<connections>
|
||||
|
|
Загрузка…
Ссылка в новой задаче