未验证 提交 5fdf4414 编写于 作者: O openharmony_ci 提交者: Gitee

!18476 修改WaterFlow示例代码适配组件布局规则

Merge pull request !18476 from 李俊峰/flow_item_width
......@@ -264,7 +264,7 @@ struct WaterflowDemo {
.layoutWeight(1)
}
}
.width(this.itemWidthArray[item])
.width('100%')
.height(this.itemHeightArray[item])
.backgroundColor(this.colors[item % 5])
}, item => item)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册