From b9b0ce22b26499872808022770bcc31772c4b6d0 Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Fri, 18 Sep 2020 16:27:45 +0800 Subject: [PATCH] feat:update demo --- doric-demo/src/NavigatorDemo.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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,