Showing
3 changed files
with
3 additions
and
3 deletions
| ... | @@ -36,7 +36,7 @@ import UIKit | ... | @@ -36,7 +36,7 @@ import UIKit |
| 36 | public override func layoutSubviews() { | 36 | public override func layoutSubviews() { |
| 37 | super.layoutSubviews() | 37 | super.layoutSubviews() |
| 38 | //set the values for top,left,bottom,right margins | 38 | //set the values for top,left,bottom,right margins |
| 39 | - let margins = UIEdgeInsets(top: 0, left: 0, bottom: 30, right: 0) | 39 | + let margins = UIEdgeInsets(top: 0, left: 0, bottom: 8, right: 0) |
| 40 | contentView.frame = contentView.frame.inset(by: margins) | 40 | contentView.frame = contentView.frame.inset(by: margins) |
| 41 | } | 41 | } |
| 42 | 42 | ... | ... |
| ... | @@ -79,7 +79,7 @@ extension CouponsViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -79,7 +79,7 @@ extension CouponsViewController: UITableViewDelegate, UITableViewDataSource{ |
| 79 | } | 79 | } |
| 80 | 80 | ||
| 81 | public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { | 81 | public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { |
| 82 | - return 120.0 + 30.0 | 82 | + return 120.0 + 8.0 |
| 83 | // return UITableViewAutomaticDimension | 83 | // return UITableViewAutomaticDimension |
| 84 | } | 84 | } |
| 85 | 85 | ... | ... |
| ... | @@ -403,7 +403,7 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -403,7 +403,7 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ |
| 403 | } | 403 | } |
| 404 | 404 | ||
| 405 | public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { | 405 | public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { |
| 406 | - return 120.0 + 30.0 | 406 | + return 120.0 + 8.0 |
| 407 | // return UITableViewAutomaticDimension | 407 | // return UITableViewAutomaticDimension |
| 408 | } | 408 | } |
| 409 | 409 | ... | ... |
-
Please register or login to post a comment