You need to sign in or sign up before continuing.
未验证 提交 ebda9201 编写于 作者: O openharmony_ci 提交者: Gitee

!19251 翻译完成 18476+18182

Merge pull request !19251 from ester.zhou/TR-18476
...@@ -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.
先完成此消息的编辑!
想要评论请 注册