From: penglei <1624952103@qq.com> Date: Thu, 27 Jun 2024 08:47:31 +0000 (+0800) Subject: 修复步数界面显示bug X-Git-Tag: release_V1.2.70_20241020_135402~943^2~1^2~1 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F392%2F2;p=mirrors%2FFD230.git 修复步数界面显示bug --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/goal/src/goalview.cpp b/code/sdk/application/wearable/fd230app/nativeui/goal/src/goalview.cpp index 414047a75..8ff2289f1 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/goal/src/goalview.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/goal/src/goalview.cpp @@ -159,7 +159,7 @@ namespace OHOS // Set additional property nowstepLabel->SetText(GoalModel::GetInstance().getstepnew()); - nowstepLabel->SetLineBreakMode(UILabel::LINE_BREAK_MARQUEE); + nowstepLabel->SetLineBreakMode(UILabel::LINE_BREAK_WRAP); //nowstepLabel->SetTextColor(0x4FC34C); nowstepLabel->SetTextColor(Color::GetColorFromRGBA(0x4F, 0xC3, 0x4C, 0xff)); nowstepLabel->SetAlign(TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_CENTER);