From 03d40564ff2c631af983fe44869a6174ba06711d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Mon, 3 Aug 2020 12:02:17 +0800 Subject: [PATCH] bugfix: demo fix --- doric-demo/src/NavigatorDemo.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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,