Fix broken merge conflict

This commit is contained in:
Hristo Hristov
2017-11-13 10:36:45 +02:00
parent 28f1a5875e
commit 04c1132541
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ import { ios as iosBackground, Background } from "../../styling/background";
// HACK: Webpack. Use a fully-qualified import to allow resolve.extensions(.ios.js) to
// kick in. `../utils` doesn't seem to trigger the webpack extensions mechanism.
import * as uiUtils from "tns-core-modules/ui/utils";
import { ios as iosUtils } from "../../../utils/utils";
import {
Visibility,
visibilityProperty, opacityProperty,

View File

@ -434,7 +434,7 @@ export class Page extends PageBase {
public onLayout(left: number, top: number, right: number, bottom: number) {
const { width: actionBarWidth, height: actionBarHeight } = this.actionBar._getActualSize;
View.layoutChild(this, this.actionBar, 0, 0, actionBarWidth, actionBarHeight);
View.layoutChild(this, this.layoutView, 0, top, right - left, bottom);
View.layoutChild(this, this.layoutView, 0, 0, right - left, bottom - top);
}
public _addViewToNativeVisualTree(child: View, atIndex: number): boolean {