Skip to content

Commit

Permalink
๐Ÿ’„ย Mod: label์˜ numberOfLines 0์œผ๋กœ ์„ค์ •ํ•˜๋„๋ก xib ์ˆ˜์ • (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
hwangJi-dev committed Mar 11, 2022
1 parent 66d8220 commit ed83c50
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
<color key="textColor" name="gray4"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="์ž˜ ๋•Œ๋ฅผ ๋†“์น˜๋ฉด ํฐ์ผ๋‚˜์š” !" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="upB-yU-3X8">
<rect key="frame" x="16" y="37" width="119" height="14"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="์ž˜ ๋•Œ๋ฅผ ๋†“์น˜๋ฉด ํฐ์ผ๋‚˜์š” !" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="upB-yU-3X8">
<rect key="frame" x="16" y="37" width="248" height="14.5"/>
<fontDescription key="fontDescription" name="Pretendard-Regular" family="Pretendard" pointSize="12"/>
<color key="textColor" name="mainDark"/>
<nil key="highlightedColor"/>
Expand All @@ -53,7 +53,7 @@
<buttonConfiguration key="configuration" style="plain" image="btnMoreVertMint"/>
</button>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" text="๋ฒŒ์จ.. 6์‹œ .. 36๋ถ„์ด๋„ค .. ๊ตฟ๋‚˜์ž‡์ด ์•„๋‹ˆ๋ผ ๊ตฟ๋ชจ๋‹์ธ๊ฐ€..ใ…Žใ…Ž ์ž˜ ์ž๊ณ  ๋‚ด์ผ ๋ณด์ž.. ํ•˜ํ•˜ .. " textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="GFj-lp-vBs">
<rect key="frame" x="16" y="75" width="240" height="58"/>
<rect key="frame" x="16" y="75.5" width="240" height="57.5"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="32" id="1IW-0m-43u"/>
Expand Down Expand Up @@ -93,6 +93,7 @@
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="272" id="5VA-cI-FoF"/>
<constraint firstAttribute="trailing" secondItem="gHl-xg-62d" secondAttribute="trailing" constant="8" id="BqG-qZ-CZx"/>
<constraint firstItem="oia-gq-Jhn" firstAttribute="height" secondItem="DmU-Wz-mYu" secondAttribute="height" id="Cis-tK-YAv"/>
<constraint firstItem="upB-yU-3X8" firstAttribute="trailing" secondItem="gHl-xg-62d" secondAttribute="trailing" id="GgS-4C-Fln"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" priority="250" constant="100" id="QaV-R4-OVP"/>
<constraint firstItem="gHl-xg-62d" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="gvn-5I-kJU" secondAttribute="trailing" constant="25" id="Vz6-Kn-DE8"/>
<constraint firstItem="oia-gq-Jhn" firstAttribute="centerY" secondItem="DmU-Wz-mYu" secondAttribute="centerY" id="XvV-4g-y5a"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="์ž˜ ๋•Œ๋ฅผ ๋†“์น˜๋ฉด ํฐ์ผ๋‚˜์š” !" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zVl-hg-oTy">
<rect key="frame" x="16" y="37" width="119" height="14"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="์ž˜ ๋•Œ๋ฅผ ๋†“์น˜๋ฉด ํฐ์ผ๋‚˜์š” !" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zVl-hg-oTy">
<rect key="frame" x="16" y="37" width="280" height="14.5"/>
<fontDescription key="fontDescription" name="Pretendard-Regular" family="Pretendard" pointSize="12"/>
<color key="textColor" name="gray2"/>
<nil key="highlightedColor"/>
Expand All @@ -54,7 +54,7 @@
<buttonConfiguration key="configuration" style="plain" image="btnMoreVertChatGray"/>
</button>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" text="๋ฒŒ์จ.. 6์‹œ .. 36๋ถ„์ด๋„ค .. " textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="uga-CD-ixQ">
<rect key="frame" x="16" y="75" width="272" height="58"/>
<rect key="frame" x="16" y="75.5" width="272" height="57.5"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstAttribute="height" priority="250" constant="58" id="6Q2-Kf-fPr"/>
Expand Down Expand Up @@ -89,6 +89,7 @@
<constraint firstItem="X8P-eq-Krl" firstAttribute="height" secondItem="GYp-lU-cWu" secondAttribute="height" id="0xU-bH-FCk"/>
<constraint firstItem="atJ-80-Jgs" firstAttribute="centerY" secondItem="rUM-0R-I2m" secondAttribute="centerY" id="4yK-Fc-uEJ"/>
<constraint firstAttribute="trailing" secondItem="uga-CD-ixQ" secondAttribute="trailing" constant="16" id="AfD-PS-18g"/>
<constraint firstItem="zVl-hg-oTy" firstAttribute="trailing" secondItem="atJ-80-Jgs" secondAttribute="trailing" id="D81-ce-CKA"/>
<constraint firstAttribute="bottom" secondItem="GYp-lU-cWu" secondAttribute="bottom" constant="16" id="EQr-9I-8gm"/>
<constraint firstItem="uga-CD-ixQ" firstAttribute="top" secondItem="zVl-hg-oTy" secondAttribute="bottom" constant="24" id="Fdh-9r-HRb"/>
<constraint firstItem="X8P-eq-Krl" firstAttribute="centerY" secondItem="GYp-lU-cWu" secondAttribute="centerY" id="GWm-sx-Hz7"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="6์‹œ 30๋ถ„ ๋„˜์—ˆ๋Š”๋ฐ ์ž ์•ˆ์˜ค๋Š” ์ €. ์ •์ƒ์ธ๊ฐ€์š”?" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="udq-eX-F8j">
<rect key="frame" x="16" y="53" width="248" height="21"/>
<rect key="frame" x="16" y="53" width="200" height="21"/>
<constraints>
<constraint firstAttribute="height" constant="21" id="KZy-8O-e8s"/>
</constraints>
Expand Down Expand Up @@ -101,7 +101,10 @@
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="1d4-Si-0qT">
<rect key="frame" x="16" y="53" width="248" height="21"/>
<rect key="frame" x="16" y="53" width="200" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="200" id="cSi-QN-cXs"/>
</constraints>
<state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="plain" title=""/>
<connections>
Expand All @@ -121,7 +124,6 @@
<constraint firstItem="1Ac-01-sRD" firstAttribute="leading" secondItem="XwU-wy-Tk1" secondAttribute="trailing" priority="250" constant="13.5" id="Mce-7W-KfJ"/>
<constraint firstAttribute="bottom" secondItem="hkZ-Xq-Tbg" secondAttribute="bottom" constant="8" id="NS0-hw-WPr"/>
<constraint firstItem="1d4-Si-0qT" firstAttribute="top" secondItem="udq-eX-F8j" secondAttribute="top" id="ThY-vK-lIE"/>
<constraint firstItem="1d4-Si-0qT" firstAttribute="trailing" secondItem="aK2-Jo-OMJ" secondAttribute="trailing" id="Vg1-nS-XDj"/>
<constraint firstAttribute="trailing" secondItem="CFZ-tM-j9m" secondAttribute="trailing" constant="16" id="WJP-tx-ted"/>
<constraint firstAttribute="width" relation="lessThanOrEqual" constant="311" id="WPb-Oa-v2T"/>
<constraint firstItem="CFZ-tM-j9m" firstAttribute="top" secondItem="OT9-0t-ckE" secondAttribute="bottom" constant="24" id="Wbm-tV-X35"/>
Expand Down

0 comments on commit ed83c50

Please sign in to comment.