mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Enable Button tests, fix AbsoluteLayout tests
This commit is contained in:
@@ -54,8 +54,8 @@ export class AbsoluteLayout extends AbsoluteLayoutBase {
|
||||
|
||||
const childLeft = this.effectiveBorderLeftWidth + this.effectivePaddingLeft + child.effectiveLeft;
|
||||
const childTop = this.effectiveBorderTopWidth + this.effectivePaddingTop + child.effectiveTop;
|
||||
const childRight = childLeft + childWidth + this.effectiveMarginLeft + this.effectiveMarginRight;
|
||||
const childBottom = childTop + childHeight + this.effectiveMarginTop + this.effectiveMarginBottom;
|
||||
const childRight = childLeft + childWidth + child.effectiveMarginLeft + child.effectiveMarginRight;
|
||||
const childBottom = childTop + childHeight + child.effectiveMarginTop + child.effectiveMarginBottom;
|
||||
|
||||
View.layoutChild(this, child, childLeft, childTop, childRight, childBottom);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user