update navigator demo

This commit is contained in:
pengfei.zhou 2020-05-06 15:19:08 +08:00 committed by osborn
parent 112952d379
commit 88a8db247c

View File

@ -60,7 +60,11 @@ class NaivgatorDemo extends Panel {
}, },
}), }),
]).apply({ ]).apply({
layoutConfig: layoutConfig().most().configHeight(LayoutSpec.FIT), layoutConfig: {
widthSpec: LayoutSpec.JUST,
heightSpec: LayoutSpec.FIT,
},
width: Environment.screenWidth,
gravity: gravity().center(), gravity: gravity().center(),
space: 10, space: 10,
})).apply({ })).apply({