Skip to content

Commit 2f5e507

Browse files
author
“Akshay
committed
Make image width constraint adjustable
Placing a `less than equal to` constraint so that when image is not present, the nil image can provide its width for stackview beside it
1 parent a6b6780 commit 2f5e507

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift-sdk/Resources/IterableEmbeddedView.xib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Description text</string>
6666
<rect key="frame" x="268" y="0.0" width="100" height="100"/>
6767
<constraints>
6868
<constraint firstAttribute="height" constant="100" id="8cm-im-EKi"/>
69-
<constraint firstAttribute="width" constant="100" id="bVg-Ev-iLm"/>
69+
<constraint firstAttribute="width" relation="lessThanOrEqual" constant="100" id="bVg-Ev-iLm"/>
7070
</constraints>
7171
</imageView>
7272
</subviews>

0 commit comments

Comments
 (0)