bugfix: demo fix

This commit is contained in:
王劲鹏 2020-08-03 12:02:17 +08:00 committed by osborn
parent e465392d55
commit 03d40564ff

View File

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