Manos Chorianopoulos

ui fixes

......@@ -13,15 +13,15 @@
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="MyRewardsFiltersTableViewCell" rowHeight="76" id="KGk-i7-Jjw" customClass="MyRewardsFiltersTableViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="320" height="76"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" ambiguous="YES" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
<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="76"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="bkB-JL-Vfn" userLabel="HeaderView">
<rect key="frame" x="0.0" y="24" width="320" height="20"/>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bkB-JL-Vfn" userLabel="HeaderView">
<rect key="frame" x="0.0" y="23.999999999999993" width="320" height="94.333333333333314"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sSt-4C-oHy" userLabel="FiltersView">
<rect key="frame" x="18" y="0.0" width="129.66666666666666" height="32"/>
<rect key="frame" x="18" y="31.333333333333336" width="129.66666666666666" height="32"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Αναζήτηση" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cy5-nB-X7u" userLabel="FiltersLabel">
<rect key="frame" x="12" y="5.9999999999999982" width="83.666666666666671" height="20.333333333333329"/>
......@@ -60,17 +60,17 @@
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GHE-KI-9tg" userLabel="MapView">
<rect key="frame" x="258" y="-6" width="44" height="44"/>
<rect key="frame" x="258" y="0.0" width="44" height="94.333333333333329"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="k8m-BH-IxE" userLabel="Map Image View">
<rect key="frame" x="12" y="12" width="20" height="20"/>
<rect key="frame" x="12" y="37.333333333333336" width="20" height="20"/>
<constraints>
<constraint firstAttribute="height" constant="20" id="8Ll-gy-xXg"/>
<constraint firstAttribute="width" constant="20" id="pBH-V0-8Nj"/>
</constraints>
</imageView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="d01-Y6-q6l">
<rect key="frame" x="0.0" y="0.0" width="44" height="44"/>
<rect key="frame" x="0.0" y="0.0" width="44" height="94.333333333333329"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="plain" title="Button">
......@@ -80,24 +80,24 @@
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstItem="d01-Y6-q6l" firstAttribute="leading" secondItem="GHE-KI-9tg" secondAttribute="leading" id="4Pk-OT-LQ6"/>
<constraint firstAttribute="height" constant="44" id="DfQ-IE-c67"/>
<constraint firstItem="k8m-BH-IxE" firstAttribute="centerX" secondItem="GHE-KI-9tg" secondAttribute="centerX" id="OoU-eV-Xkh"/>
<constraint firstItem="k8m-BH-IxE" firstAttribute="centerY" secondItem="GHE-KI-9tg" secondAttribute="centerY" id="cZl-K3-dkT"/>
<constraint firstAttribute="width" constant="44" id="nd0-tE-vKC"/>
<constraint firstItem="d01-Y6-q6l" firstAttribute="top" secondItem="GHE-KI-9tg" secondAttribute="top" id="PBu-Uu-MDq"/>
<constraint firstItem="d01-Y6-q6l" firstAttribute="leading" secondItem="GHE-KI-9tg" secondAttribute="leading" id="4Pk-OT-LQ6"/>
<constraint firstAttribute="trailing" secondItem="d01-Y6-q6l" secondAttribute="trailing" id="WzZ-r0-HTj"/>
<constraint firstItem="k8m-BH-IxE" firstAttribute="centerY" secondItem="GHE-KI-9tg" secondAttribute="centerY" id="cZl-K3-dkT"/>
<constraint firstAttribute="bottom" secondItem="d01-Y6-q6l" secondAttribute="bottom" id="eg0-Pp-vCp"/>
<constraint firstAttribute="width" constant="44" id="nd0-tE-vKC"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="sSt-4C-oHy" firstAttribute="leading" secondItem="bkB-JL-Vfn" secondAttribute="leading" constant="18" id="5pn-cY-zMp"/>
<constraint firstAttribute="bottom" secondItem="sSt-4C-oHy" secondAttribute="bottom" id="Bf7-Ee-EMt"/>
<constraint firstItem="GHE-KI-9tg" firstAttribute="centerY" secondItem="sSt-4C-oHy" secondAttribute="centerY" id="HYW-Bp-COU"/>
<constraint firstItem="GHE-KI-9tg" firstAttribute="top" secondItem="bkB-JL-Vfn" secondAttribute="top" id="7CU-uf-erz"/>
<constraint firstAttribute="trailing" secondItem="GHE-KI-9tg" secondAttribute="trailing" constant="18" id="N5l-ZF-3tU"/>
<constraint firstItem="sSt-4C-oHy" firstAttribute="top" secondItem="bkB-JL-Vfn" secondAttribute="top" id="XRz-p7-DUf"/>
<constraint firstItem="sSt-4C-oHy" firstAttribute="centerY" secondItem="bkB-JL-Vfn" secondAttribute="centerY" id="bJx-2g-sYs"/>
<constraint firstAttribute="bottom" secondItem="GHE-KI-9tg" secondAttribute="bottom" id="l63-Nn-q72"/>
</constraints>
</view>
</subviews>
......
......@@ -67,7 +67,7 @@ public class MyRewardsOfferCollectionViewCell: UICollectionViewCell {
discountView.layer.cornerRadius = 34.0
discountLabel.adjustsFontSizeToFit = true
discountLabel.adjustsFontSizeToFitWidth = true
discountLabel.minimumScaleFactor = 0.5
bannerImage.backgroundColor = UIColor(rgb: 0xE7E7E7)
......