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({
layoutConfig: {
widthSpec: LayoutSpec.JUST,
heightSpec: LayoutSpec.FIT,
},
layoutConfig: layoutConfig().most(),
width: Environment.screenWidth,
gravity: gravity().center(),
space: 10,