mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
FIX: Repeater layout bug
This commit is contained in:
@ -192,7 +192,7 @@ export class Repeater extends viewModule.CustomLayoutView implements definition.
|
|||||||
}
|
}
|
||||||
|
|
||||||
public onLayout(left: number, top: number, right: number, bottom: number): void {
|
public onLayout(left: number, top: number, right: number, bottom: number): void {
|
||||||
viewModule.View.layoutChild(this, this.itemsLayout, 0, 0, right, bottom);
|
viewModule.View.layoutChild(this, this.itemsLayout, 0, 0, right - left, bottom - top);
|
||||||
}
|
}
|
||||||
|
|
||||||
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void {
|
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void {
|
||||||
|
Reference in New Issue
Block a user