diff --git a/doric-demo/src/NavigatorDemo.ts b/doric-demo/src/NavigatorDemo.ts index 13e993d3..159b1180 100644 --- a/doric-demo/src/NavigatorDemo.ts +++ b/doric-demo/src/NavigatorDemo.ts @@ -60,7 +60,10 @@ class NaivgatorDemo extends Panel { }, }), ]).apply({ - layoutConfig: layoutConfig().most(), + layoutConfig: { + widthSpec: LayoutSpec.MOST, + heightSpec: LayoutSpec.FIT + }, width: Environment.screenWidth, gravity: gravity().center(), space: 10,