Skip to content

Commit

Permalink
Merge pull request #51 from Qiscus-Integration/feature/make-image-square
Browse files Browse the repository at this point in the history
make image square
  • Loading branch information
tfkbudi authored Apr 27, 2021
2 parents 882a9bf + 76c8942 commit 7c85c22
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16096" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17506" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17505"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="qImagesLeftCell" rowHeight="235" id="KGk-i7-Jjw" customClass="QImagesLeftCell" customModule="MultichannelWidget" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="320" height="235"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="qImagesLeftCell" rowHeight="77" id="KGk-i7-Jjw" customClass="QImagesLeftCell" customModule="MultichannelWidget" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="214" height="77"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
<rect key="frame" x="0.0" y="0.0" width="320" height="235"/>
<rect key="frame" x="0.0" y="0.0" width="214" height="77"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="eu1-6U-37q" userLabel="ivBubleLeft">
<rect key="frame" x="20" y="0.0" width="228.5" height="227"/>
<rect key="frame" x="20" y="0.0" width="42.5" height="73.5"/>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rXz-FS-aHg" userLabel="lblDate">
<rect key="frame" x="256.5" y="0.0" width="28.5" height="14"/>
<rect key="frame" x="70.5" y="0.0" width="28.5" height="14"/>
<fontDescription key="fontDescription" type="system" pointSize="11"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="e3U-nm-dkv" userLabel="ivComment">
<rect key="frame" x="20" y="0.0" width="228.5" height="128"/>
<rect key="frame" x="20" y="0.0" width="42.5" height="42.5"/>
<constraints>
<constraint firstAttribute="height" constant="128" id="YeO-6F-0KY"/>
<constraint firstAttribute="width" secondItem="e3U-nm-dkv" secondAttribute="height" multiplier="1:1" id="wH6-c1-wrM"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YJe-iK-bzn" userLabel="lblComment">
<rect key="frame" x="27" y="135" width="35.5" height="85"/>
<rect key="frame" x="27" y="49.5" width="35.5" height="17"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" style="medium" translatesAutoresizingMaskIntoConstraints="NO" id="vmb-eu-5Ts">
<rect key="frame" x="124.5" y="54" width="20" height="20"/>
<rect key="frame" x="31.5" y="11.5" width="20" height="20"/>
</activityIndicatorView>
</subviews>
<color key="backgroundColor" white="1" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
Expand All @@ -48,7 +48,7 @@
<constraint firstItem="e3U-nm-dkv" firstAttribute="top" secondItem="eu1-6U-37q" secondAttribute="top" id="631-uD-HAI"/>
<constraint firstItem="eu1-6U-37q" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="20" id="6lL-AW-57H"/>
<constraint firstItem="vmb-eu-5Ts" firstAttribute="centerX" secondItem="e3U-nm-dkv" secondAttribute="centerX" id="ULk-Ki-Lzy"/>
<constraint firstItem="YJe-iK-bzn" firstAttribute="trailing" relation="lessThanOrEqual" secondItem="eu1-6U-37q" secondAttribute="trailing" id="ZcK-yw-0OH"/>
<constraint firstItem="YJe-iK-bzn" firstAttribute="trailing" secondItem="eu1-6U-37q" secondAttribute="trailing" id="ZcK-yw-0OH"/>
<constraint firstItem="YJe-iK-bzn" firstAttribute="top" secondItem="e3U-nm-dkv" secondAttribute="bottom" constant="7" id="Zel-t1-xVa"/>
<constraint firstItem="rXz-FS-aHg" firstAttribute="top" secondItem="eu1-6U-37q" secondAttribute="top" id="cEL-t2-hTJ"/>
<constraint firstItem="rXz-FS-aHg" firstAttribute="leading" secondItem="eu1-6U-37q" secondAttribute="trailing" constant="8" id="cfh-4z-uGN"/>
Expand All @@ -61,8 +61,8 @@
<constraint firstItem="e3U-nm-dkv" firstAttribute="width" secondItem="H2p-sc-9uM" secondAttribute="width" multiplier="1:1.4" id="wYL-9z-viZ"/>
</constraints>
</tableViewCellContentView>
<color key="backgroundColor" white="1" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
<color key="backgroundColor" white="1" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<connections>
<outlet property="ivComment" destination="e3U-nm-dkv" id="2sH-lo-KI2"/>
<outlet property="ivLeftBubble" destination="eu1-6U-37q" id="Sdc-aj-d4h"/>
Expand All @@ -71,7 +71,7 @@
<outlet property="loadingIndicator" destination="vmb-eu-5Ts" id="vJx-NY-zDb"/>
<outlet property="marginCommentTop" destination="Zel-t1-xVa" id="e9g-0W-CR8"/>
</connections>
<point key="canvasLocation" x="137.68115942028987" y="168.41517857142856"/>
<point key="canvasLocation" x="60.869565217391312" y="115.51339285714285"/>
</tableViewCell>
</objects>
</document>
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16096" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17506" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17505"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
Expand All @@ -18,35 +18,35 @@
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="zNu-Go-dSw" userLabel="ivBubleRight">
<rect key="frame" x="91.5" y="3" width="280.5" height="199"/>
<rect key="frame" x="318.5" y="3" width="53.5" height="85.5"/>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6lM-LH-RRa" userLabel="lblDate">
<rect key="frame" x="55" y="3" width="28.5" height="13.5"/>
<rect key="frame" x="282" y="3" width="28.5" height="13.5"/>
<fontDescription key="fontDescription" type="system" pointSize="11"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" adjustsImageSizeForAccessibilityContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="mAT-rA-UZf" userLabel="ivComment">
<rect key="frame" x="91.5" y="3" width="280.5" height="128"/>
<rect key="frame" x="318.5" y="3" width="53.5" height="53.5"/>
<constraints>
<constraint firstAttribute="height" constant="128" id="Ahk-aN-2N2"/>
<constraint firstAttribute="width" secondItem="mAT-rA-UZf" secondAttribute="height" multiplier="1:1" id="LRL-z6-9cd"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="f9z-NA-U4g" userLabel="lblComment">
<rect key="frame" x="101.5" y="138" width="262.5" height="56"/>
<rect key="frame" x="328.5" y="63.5" width="35.5" height="17"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="UnE-gV-hcQ">
<rect key="frame" x="63.5" y="18.5" width="20" height="20"/>
<rect key="frame" x="290.5" y="18.5" width="20" height="20"/>
<constraints>
<constraint firstAttribute="height" constant="20" id="GLV-cl-97F"/>
<constraint firstAttribute="width" constant="20" id="Mcc-SR-nke"/>
</constraints>
</imageView>
<activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" style="medium" translatesAutoresizingMaskIntoConstraints="NO" id="C9b-LG-ure">
<rect key="frame" x="221.5" y="57" width="20" height="20"/>
<rect key="frame" x="335.5" y="20" width="20" height="20"/>
</activityIndicatorView>
</subviews>
<color key="backgroundColor" white="1" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
Expand All @@ -70,8 +70,8 @@
<constraint firstItem="UnE-gV-hcQ" firstAttribute="top" secondItem="6lM-LH-RRa" secondAttribute="bottom" constant="2" id="w1u-fc-0Vn"/>
</constraints>
</tableViewCellContentView>
<color key="backgroundColor" white="1" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
<color key="backgroundColor" white="1" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<connections>
<outlet property="ivComment" destination="mAT-rA-UZf" id="0vp-Fe-eeu"/>
<outlet property="ivRightBubble" destination="zNu-Go-dSw" id="u1m-qH-evh"/>
Expand Down

0 comments on commit 7c85c22

Please sign in to comment.