mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
Merge pull request #226 from NativeScript/ListView-ios-separator-width
separator is no longer forced to the edge
This commit is contained in:
@ -89,18 +89,6 @@ class UITableViewDelegateImpl extends NSObject implements UITableViewDelegate {
|
|||||||
if (indexPath.row === this._owner.items.length - 1) {
|
if (indexPath.row === this._owner.items.length - 1) {
|
||||||
this._owner.notify(<observable.EventData>{ eventName: LOADMOREITEMS, object: this._owner });
|
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 {
|
public tableViewWillSelectRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): NSIndexPath {
|
||||||
|
Reference in New Issue
Block a user