Skip to content

Commit 9238f29

Browse files
author
Vladimir Enchev
committed
separator is no longer forced to the edge
Use this code in ListView.itemLoading event if you want to control the inset: function listViewItemLoading(args) { if (args.ios) { args.ios.separatorInset = UIEdgeInsetsZero; args.ios.preservesSuperviewLayoutMargins = false; args.ios.layoutMargins = UIEdgeInsetsZero; } }
1 parent 346332a commit 9238f29

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

ui/list-view/list-view.ios.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -89,18 +89,6 @@ class UITableViewDelegateImpl extends NSObject implements UITableViewDelegate {
8989
if (indexPath.row === this._owner.items.length - 1) {
9090
this._owner.notify(<observable.EventData>{ eventName: LOADMOREITEMS, object: this._owner });
9191
}
92-
93-
if (cell.separatorInset) {
94-
cell.separatorInset = UIEdgeInsetsZero;
95-
}
96-
97-
if (cell.preservesSuperviewLayoutMargins) {
98-
cell.preservesSuperviewLayoutMargins = false;
99-
}
100-
101-
if (cell.layoutMargins) {
102-
cell.layoutMargins = UIEdgeInsetsZero;
103-
}
10492
}
10593

10694
public tableViewWillSelectRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): NSIndexPath {

0 commit comments

Comments
 (0)