Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2022-09-23 17:00:22 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
35a221a00d3877822ea2f07ee53627279580343c
35a221a0
1 parent
9c7ee8e6
fix CouponsTableViewCell margin
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
SwiftWarplyFramework/SwiftWarplyFramework/CouponsTableViewCell.swift
SwiftWarplyFramework/SwiftWarplyFramework/CouponsViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/WalletViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/CouponsTableViewCell.swift
View file @
35a221a
...
...
@@ -36,7 +36,7 @@ import UIKit
public
override
func
layoutSubviews
()
{
super
.
layoutSubviews
()
//set the values for top,left,bottom,right margins
let
margins
=
UIEdgeInsets
(
top
:
0
,
left
:
0
,
bottom
:
30
,
right
:
0
)
let
margins
=
UIEdgeInsets
(
top
:
0
,
left
:
0
,
bottom
:
8
,
right
:
0
)
contentView
.
frame
=
contentView
.
frame
.
inset
(
by
:
margins
)
}
...
...
SwiftWarplyFramework/SwiftWarplyFramework/CouponsViewController.swift
View file @
35a221a
...
...
@@ -79,7 +79,7 @@ extension CouponsViewController: UITableViewDelegate, UITableViewDataSource{
}
public
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
return
120.0
+
30
.0
return
120.0
+
8
.0
// return UITableViewAutomaticDimension
}
...
...
SwiftWarplyFramework/SwiftWarplyFramework/WalletViewController.swift
View file @
35a221a
...
...
@@ -403,7 +403,7 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
}
public
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
return
120.0
+
30
.0
return
120.0
+
8
.0
// return UITableViewAutomaticDimension
}
...
...
Please
register
or
login
to post a comment