feat:update demo

This commit is contained in:
pengfei.zhou 2020-09-18 16:27:45 +08:00 committed by osborn
parent 44f62dbea7
commit b9b0ce22b2

View File

@ -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,