diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/progress.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/progress.ets index fe9d6c4303813aea6179fa6d6eb209e46558ecde..8b3d2b90518aed693e580e57261fd904398a4df2 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/progress.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/progress.ets @@ -45,7 +45,7 @@ struct ProgressStyle { .textOverflow({ overflow: TextOverflow.None }) .key("styleText") 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) .style({ strokeWidth: 20, scaleCount: 30, scaleWidth: 20 }) .key("Progress") diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/progress.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/progress.ets index 8374476a79223ac92b03452941a47193bfcf0ec0..47cf0e9cf67dc2a186a88ee213f901da10512d4c 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/progress.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/progress.ets @@ -53,7 +53,7 @@ struct ProgressScaleCount { Text('Ring Progress').fontSize(9).fontColor(0xCCCCCC).width('90%') Row({ space: 40 }) { 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) .style({ strokeWidth: 20, scaleCount: 30, scaleWidth: 20 }) } diff --git a/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/ProgressPage.ets b/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/ProgressPage.ets index b633e6bf3639bd88643ac8a7ab2b29ca10479b89..397e9da46a72a08bf0e28d47f7a5ce7ab5093185 100644 --- a/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/ProgressPage.ets +++ b/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/ProgressPage.ets @@ -91,7 +91,7 @@ struct ProgressPage { Text('Ring Progress').fontSize(9).fontColor(0xCCCCCC).width('90%') Row({ space: 40 }) { 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) .style({ strokeWidth: 20, scaleCount: 30, scaleWidth: 20 }) }