Showing
1 changed file
with
4 additions
and
1 deletions
| ... | @@ -66,7 +66,10 @@ public class MyRewardsOfferCollectionViewCell: UICollectionViewCell { | ... | @@ -66,7 +66,10 @@ public class MyRewardsOfferCollectionViewCell: UICollectionViewCell { |
| 66 | parentView.clipsToBounds = true | 66 | parentView.clipsToBounds = true |
| 67 | 67 | ||
| 68 | discountView.layer.cornerRadius = 34.0 | 68 | discountView.layer.cornerRadius = 34.0 |
| 69 | - | 69 | + |
| 70 | + discountLabel.adjustsFontSizeToFit = true | ||
| 71 | + discountLabel.minimumScaleFactor = 0.5 | ||
| 72 | + | ||
| 70 | bannerImage.backgroundColor = UIColor(rgb: 0xE7E7E7) | 73 | bannerImage.backgroundColor = UIColor(rgb: 0xE7E7E7) |
| 71 | } | 74 | } |
| 72 | 75 | ... | ... |
-
Please register or login to post a comment