diff --git a/doric-demo/src/RefreshDemo.ts b/doric-demo/src/RefreshDemo.ts index b6e7b465..174de298 100644 --- a/doric-demo/src/RefreshDemo.ts +++ b/doric-demo/src/RefreshDemo.ts @@ -112,12 +112,15 @@ class ListPanel extends Panel { heightSpec: LayoutSpec.MOST, }, }), + layoutConfig: { + widthSpec: LayoutSpec.MOST, + heightSpec: LayoutSpec.FIT, + weight: 1, + }, }), - ], { layoutConfig: layoutConfig().most(), - backgroundColor: Color.WHITE }).in(rootView) refreshView.backgroundColor = Color.YELLOW }