Manos Chorianopoulos

ui fixes

...@@ -13,15 +13,15 @@ ...@@ -13,15 +13,15 @@
13 <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="MyRewardsFiltersTableViewCell" rowHeight="76" id="KGk-i7-Jjw" customClass="MyRewardsFiltersTableViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> 13 <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="MyRewardsFiltersTableViewCell" rowHeight="76" id="KGk-i7-Jjw" customClass="MyRewardsFiltersTableViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target">
14 <rect key="frame" x="0.0" y="0.0" width="320" height="76"/> 14 <rect key="frame" x="0.0" y="0.0" width="320" height="76"/>
15 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 15 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
16 - <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" ambiguous="YES" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM"> 16 + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
17 <rect key="frame" x="0.0" y="0.0" width="320" height="76"/> 17 <rect key="frame" x="0.0" y="0.0" width="320" height="76"/>
18 <autoresizingMask key="autoresizingMask"/> 18 <autoresizingMask key="autoresizingMask"/>
19 <subviews> 19 <subviews>
20 - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="bkB-JL-Vfn" userLabel="HeaderView"> 20 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bkB-JL-Vfn" userLabel="HeaderView">
21 - <rect key="frame" x="0.0" y="24" width="320" height="20"/> 21 + <rect key="frame" x="0.0" y="23.999999999999993" width="320" height="94.333333333333314"/>
22 <subviews> 22 <subviews>
23 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sSt-4C-oHy" userLabel="FiltersView"> 23 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sSt-4C-oHy" userLabel="FiltersView">
24 - <rect key="frame" x="18" y="0.0" width="129.66666666666666" height="32"/> 24 + <rect key="frame" x="18" y="31.333333333333336" width="129.66666666666666" height="32"/>
25 <subviews> 25 <subviews>
26 <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"> 26 <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">
27 <rect key="frame" x="12" y="5.9999999999999982" width="83.666666666666671" height="20.333333333333329"/> 27 <rect key="frame" x="12" y="5.9999999999999982" width="83.666666666666671" height="20.333333333333329"/>
...@@ -60,17 +60,17 @@ ...@@ -60,17 +60,17 @@
60 </constraints> 60 </constraints>
61 </view> 61 </view>
62 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GHE-KI-9tg" userLabel="MapView"> 62 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GHE-KI-9tg" userLabel="MapView">
63 - <rect key="frame" x="258" y="-6" width="44" height="44"/> 63 + <rect key="frame" x="258" y="0.0" width="44" height="94.333333333333329"/>
64 <subviews> 64 <subviews>
65 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="k8m-BH-IxE" userLabel="Map Image View"> 65 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="k8m-BH-IxE" userLabel="Map Image View">
66 - <rect key="frame" x="12" y="12" width="20" height="20"/> 66 + <rect key="frame" x="12" y="37.333333333333336" width="20" height="20"/>
67 <constraints> 67 <constraints>
68 <constraint firstAttribute="height" constant="20" id="8Ll-gy-xXg"/> 68 <constraint firstAttribute="height" constant="20" id="8Ll-gy-xXg"/>
69 <constraint firstAttribute="width" constant="20" id="pBH-V0-8Nj"/> 69 <constraint firstAttribute="width" constant="20" id="pBH-V0-8Nj"/>
70 </constraints> 70 </constraints>
71 </imageView> 71 </imageView>
72 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="d01-Y6-q6l"> 72 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="d01-Y6-q6l">
73 - <rect key="frame" x="0.0" y="0.0" width="44" height="44"/> 73 + <rect key="frame" x="0.0" y="0.0" width="44" height="94.333333333333329"/>
74 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> 74 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
75 <state key="normal" title="Button"/> 75 <state key="normal" title="Button"/>
76 <buttonConfiguration key="configuration" style="plain" title="Button"> 76 <buttonConfiguration key="configuration" style="plain" title="Button">
...@@ -80,24 +80,24 @@ ...@@ -80,24 +80,24 @@
80 </subviews> 80 </subviews>
81 <color key="backgroundColor" systemColor="systemBackgroundColor"/> 81 <color key="backgroundColor" systemColor="systemBackgroundColor"/>
82 <constraints> 82 <constraints>
83 + <constraint firstItem="d01-Y6-q6l" firstAttribute="leading" secondItem="GHE-KI-9tg" secondAttribute="leading" id="4Pk-OT-LQ6"/>
83 <constraint firstAttribute="height" constant="44" id="DfQ-IE-c67"/> 84 <constraint firstAttribute="height" constant="44" id="DfQ-IE-c67"/>
84 <constraint firstItem="k8m-BH-IxE" firstAttribute="centerX" secondItem="GHE-KI-9tg" secondAttribute="centerX" id="OoU-eV-Xkh"/> 85 <constraint firstItem="k8m-BH-IxE" firstAttribute="centerX" secondItem="GHE-KI-9tg" secondAttribute="centerX" id="OoU-eV-Xkh"/>
85 - <constraint firstItem="k8m-BH-IxE" firstAttribute="centerY" secondItem="GHE-KI-9tg" secondAttribute="centerY" id="cZl-K3-dkT"/>
86 - <constraint firstAttribute="width" constant="44" id="nd0-tE-vKC"/>
87 <constraint firstItem="d01-Y6-q6l" firstAttribute="top" secondItem="GHE-KI-9tg" secondAttribute="top" id="PBu-Uu-MDq"/> 86 <constraint firstItem="d01-Y6-q6l" firstAttribute="top" secondItem="GHE-KI-9tg" secondAttribute="top" id="PBu-Uu-MDq"/>
88 - <constraint firstItem="d01-Y6-q6l" firstAttribute="leading" secondItem="GHE-KI-9tg" secondAttribute="leading" id="4Pk-OT-LQ6"/>
89 <constraint firstAttribute="trailing" secondItem="d01-Y6-q6l" secondAttribute="trailing" id="WzZ-r0-HTj"/> 87 <constraint firstAttribute="trailing" secondItem="d01-Y6-q6l" secondAttribute="trailing" id="WzZ-r0-HTj"/>
88 + <constraint firstItem="k8m-BH-IxE" firstAttribute="centerY" secondItem="GHE-KI-9tg" secondAttribute="centerY" id="cZl-K3-dkT"/>
90 <constraint firstAttribute="bottom" secondItem="d01-Y6-q6l" secondAttribute="bottom" id="eg0-Pp-vCp"/> 89 <constraint firstAttribute="bottom" secondItem="d01-Y6-q6l" secondAttribute="bottom" id="eg0-Pp-vCp"/>
90 + <constraint firstAttribute="width" constant="44" id="nd0-tE-vKC"/>
91 </constraints> 91 </constraints>
92 </view> 92 </view>
93 </subviews> 93 </subviews>
94 <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> 94 <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
95 <constraints> 95 <constraints>
96 <constraint firstItem="sSt-4C-oHy" firstAttribute="leading" secondItem="bkB-JL-Vfn" secondAttribute="leading" constant="18" id="5pn-cY-zMp"/> 96 <constraint firstItem="sSt-4C-oHy" firstAttribute="leading" secondItem="bkB-JL-Vfn" secondAttribute="leading" constant="18" id="5pn-cY-zMp"/>
97 - <constraint firstAttribute="bottom" secondItem="sSt-4C-oHy" secondAttribute="bottom" id="Bf7-Ee-EMt"/> 97 + <constraint firstItem="GHE-KI-9tg" firstAttribute="top" secondItem="bkB-JL-Vfn" secondAttribute="top" id="7CU-uf-erz"/>
98 - <constraint firstItem="GHE-KI-9tg" firstAttribute="centerY" secondItem="sSt-4C-oHy" secondAttribute="centerY" id="HYW-Bp-COU"/>
99 <constraint firstAttribute="trailing" secondItem="GHE-KI-9tg" secondAttribute="trailing" constant="18" id="N5l-ZF-3tU"/> 98 <constraint firstAttribute="trailing" secondItem="GHE-KI-9tg" secondAttribute="trailing" constant="18" id="N5l-ZF-3tU"/>
100 - <constraint firstItem="sSt-4C-oHy" firstAttribute="top" secondItem="bkB-JL-Vfn" secondAttribute="top" id="XRz-p7-DUf"/> 99 + <constraint firstItem="sSt-4C-oHy" firstAttribute="centerY" secondItem="bkB-JL-Vfn" secondAttribute="centerY" id="bJx-2g-sYs"/>
100 + <constraint firstAttribute="bottom" secondItem="GHE-KI-9tg" secondAttribute="bottom" id="l63-Nn-q72"/>
101 </constraints> 101 </constraints>
102 </view> 102 </view>
103 </subviews> 103 </subviews>
......
...@@ -67,7 +67,7 @@ public class MyRewardsOfferCollectionViewCell: UICollectionViewCell { ...@@ -67,7 +67,7 @@ public class MyRewardsOfferCollectionViewCell: UICollectionViewCell {
67 67
68 discountView.layer.cornerRadius = 34.0 68 discountView.layer.cornerRadius = 34.0
69 69
70 - discountLabel.adjustsFontSizeToFit = true 70 + discountLabel.adjustsFontSizeToFitWidth = true
71 discountLabel.minimumScaleFactor = 0.5 71 discountLabel.minimumScaleFactor = 0.5
72 72
73 bannerImage.backgroundColor = UIColor(rgb: 0xE7E7E7) 73 bannerImage.backgroundColor = UIColor(rgb: 0xE7E7E7)
......