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