mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fixed problem with iOS 7 and ListView rowHeight.
This commit is contained in:
@@ -160,6 +160,15 @@ class UITableViewRowHeightDelegateImpl extends NSObject implements UITableViewDe
|
|||||||
cell.highlighted = false;
|
cell.highlighted = false;
|
||||||
return indexPath;
|
return indexPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public tableViewHeightForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): number {
|
||||||
|
let owner = this._owner.get();
|
||||||
|
if (!owner) {
|
||||||
|
return DEFAULT_HEIGHT;
|
||||||
|
}
|
||||||
|
|
||||||
|
return owner.rowHeight;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function onSeparatorColorPropertyChanged(data: dependencyObservable.PropertyChangeData) {
|
function onSeparatorColorPropertyChanged(data: dependencyObservable.PropertyChangeData) {
|
||||||
|
|||||||
Reference in New Issue
Block a user