提交 aef08be4 编写于 作者: Z zcdqs 提交者: 李俊峰

fixed 715d577c from https://gitee.com/zcdqs/docs/pulls/18476

set flow item's width to 100%
Signed-off-by: Nzcdqs <junfeng.lijunfeng@huawei.com>
Change-Id: Iab0e88d01d24c512459d2049aa6d6b104c46f4ec
上级 011e3de2
...@@ -264,7 +264,7 @@ struct WaterflowDemo { ...@@ -264,7 +264,7 @@ struct WaterflowDemo {
.layoutWeight(1) .layoutWeight(1)
} }
} }
.width(this.itemWidthArray[item]) .width('100%')
.height(this.itemHeightArray[item]) .height(this.itemHeightArray[item])
.backgroundColor(this.colors[item % 5]) .backgroundColor(this.colors[item % 5])
}, item => item) }, item => item)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册