mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 13:51:27 +08:00

Fixed broken unit-tests ios layout now run only for the innermost viewcontoller ios layout for viewcontrollers now implemented with constraints Added ios11 safeAreas layout support onMeasure back for frame and tab-view so that they won't throw exception if measure is called on them Page parents layout updated after page is layout so that inner layout flags are correct
10 lines
365 B
TypeScript
10 lines
365 B
TypeScript
import { Layout as LayoutDefinition } from "./layout";
|
|
import { LayoutBase } from "./layout-base";
|
|
|
|
export * from "./layout-base";
|
|
export class Layout extends LayoutBase implements LayoutDefinition {
|
|
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void {
|
|
// Don't call super because it will measure the native element.
|
|
}
|
|
}
|