Merge pull request #226 from NativeScript/ListView-ios-separator-width

separator is no longer forced to the edge
This commit is contained in:
Vladimir Enchev
2015-05-27 17:07:44 +03:00

View File

@ -89,18 +89,6 @@ class UITableViewDelegateImpl extends NSObject implements UITableViewDelegate {
if (indexPath.row === this._owner.items.length - 1) {
this._owner.notify(<observable.EventData>{ eventName: LOADMOREITEMS, object: this._owner });
}
if (cell.separatorInset) {
cell.separatorInset = UIEdgeInsetsZero;
}
if (cell.preservesSuperviewLayoutMargins) {
cell.preservesSuperviewLayoutMargins = false;
}
if (cell.layoutMargins) {
cell.layoutMargins = UIEdgeInsetsZero;
}
}
public tableViewWillSelectRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): NSIndexPath {