Skip to content

Commit 8336e64

Browse files
author
“Akshay
committed
Title and Description to be top aligned
Matching the android's OOTB behaviour where Title and body are top aligned instead of being in center when displayed in banner view
1 parent 93bbbc9 commit 8336e64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

swift-sdk/Resources/IterableEmbeddedView.xib

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="WQD-hj-6fI">
3737
<rect key="frame" x="0.0" y="0.0" width="400" height="0.0"/>
3838
</imageView>
39-
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="0Q3-lN-ixZ">
39+
<stackView opaque="NO" contentMode="scaleToFill" alignment="top" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="0Q3-lN-ixZ">
4040
<rect key="frame" x="16" y="16" width="368" height="333.66666666666669"/>
4141
<subviews>
4242
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="top" spacing="4" translatesAutoresizingMaskIntoConstraints="NO" id="fVi-s9-EJr">
43-
<rect key="frame" x="0.0" y="132" width="260" height="70"/>
43+
<rect key="frame" x="0.0" y="0.0" width="260" height="70"/>
4444
<subviews>
4545
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="750" verticalCompressionResistancePriority="1000" text="Title Text" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YhJ-Xr-beZ">
4646
<rect key="frame" x="0.0" y="0.0" width="89.666666666666671" height="25.333333333333332"/>
@@ -59,7 +59,7 @@ Description text</string>
5959
</subviews>
6060
</stackView>
6161
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="k84-x3-9VM">
62-
<rect key="frame" x="268" y="117" width="100" height="100"/>
62+
<rect key="frame" x="268" y="0.0" width="100" height="100"/>
6363
<constraints>
6464
<constraint firstAttribute="height" constant="100" id="8cm-im-EKi"/>
6565
<constraint firstAttribute="width" constant="100" id="bVg-Ev-iLm"/>

0 commit comments

Comments
 (0)