提交 e973ee7b 编写于 作者: E ester.zhou

Update docs (18476)

Signed-off-by: Nester.zhou <ester.zhou@huawei.com>
上级 2c914fe1
...@@ -260,9 +260,11 @@ struct WaterflowDemo { ...@@ -260,9 +260,11 @@ struct WaterflowDemo {
Text("N" + item).fontSize(12).height('16') Text("N" + item).fontSize(12).height('16')
Image('res/waterFlowTest(' + item % 5 + ').jpg') Image('res/waterFlowTest(' + item % 5 + ').jpg')
.objectFit(ImageFit.Fill) .objectFit(ImageFit.Fill)
.width('100%')
.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.
先完成此消息的编辑!
想要评论请 注册