未验证 提交 572345e4 编写于 作者: O openharmony_ci 提交者: Gitee

!8499 progress dts修改引起xts变更

Merge pull request !8499 from sunjiakun/progress_xts
...@@ -45,7 +45,7 @@ struct ProgressStyle { ...@@ -45,7 +45,7 @@ struct ProgressStyle {
.textOverflow({ overflow: TextOverflow.None }) .textOverflow({ overflow: TextOverflow.None })
.key("styleText") .key("styleText")
Row({ space: 40 }) { Row({ space: 40 }) {
Progress({ value: 20, total: 150, type: ProgressType.Ring }) Progress({ value: 20, total: 150, type: ProgressType.ScaleRing })
.color(Color.Green).value(50).width(100) .color(Color.Green).value(50).width(100)
.style({ strokeWidth: 20, scaleCount: 30, scaleWidth: 20 }) .style({ strokeWidth: 20, scaleCount: 30, scaleWidth: 20 })
.key("Progress") .key("Progress")
......
...@@ -53,7 +53,7 @@ struct ProgressScaleCount { ...@@ -53,7 +53,7 @@ struct ProgressScaleCount {
Text('Ring Progress').fontSize(9).fontColor(0xCCCCCC).width('90%') Text('Ring Progress').fontSize(9).fontColor(0xCCCCCC).width('90%')
Row({ space: 40 }) { Row({ space: 40 }) {
Progress({ value: 10, type: ProgressType.Ring }).width(100) Progress({ value: 10, type: ProgressType.Ring }).width(100)
Progress({ value: 20, total: 150, type: ProgressType.Ring }) Progress({ value: 20, total: 150, type: ProgressType.ScaleRing })
.color(Color.Grey).value(50).width(100) .color(Color.Grey).value(50).width(100)
.style({ strokeWidth: 20, scaleCount: 30, scaleWidth: 20 }) .style({ strokeWidth: 20, scaleCount: 30, scaleWidth: 20 })
} }
......
...@@ -91,7 +91,7 @@ struct ProgressPage { ...@@ -91,7 +91,7 @@ struct ProgressPage {
Text('Ring Progress').fontSize(9).fontColor(0xCCCCCC).width('90%') Text('Ring Progress').fontSize(9).fontColor(0xCCCCCC).width('90%')
Row({ space: 40 }) { Row({ space: 40 }) {
Progress({ value: 10, type: ProgressType.Ring }).width(100) Progress({ value: 10, type: ProgressType.Ring }).width(100)
Progress({ value: this.value, total: 150, type: ProgressType.Ring }) Progress({ value: this.value, total: 150, type: ProgressType.ScaleRing })
.color(this.color).value(50).width(100) .color(this.color).value(50).width(100)
.style({ strokeWidth: 20, scaleCount: 30, scaleWidth: 20 }) .style({ strokeWidth: 20, scaleCount: 30, scaleWidth: 20 })
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册