From bf14420f5ef2f4855ab36835aed3ea1d6ebb8838 Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Tue, 10 Sep 2024 15:53:33 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E5=A4=8D=E6=AD=A5=E6=95=B0=E6=98=BE?= =?utf8?q?=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/fd230app/nativeui/goal/src/goalview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 d37d7b685..adb2d7998 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/goal/src/goalview.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/goal/src/goalview.cpp @@ -177,7 +177,7 @@ namespace OHOS // Set additional property nowstepLabel->SetText(GoalModel::GetInstance().getstepnew()); - nowstepLabel->SetLineBreakMode(UILabel::LINE_BREAK_WRAP); + nowstepLabel->SetLineBreakMode(UILabel::LINE_BREAK_MARQUEE); //nowstepLabel->SetTextColor(0x4FC34C); nowstepLabel->SetTextColor(Color::GetColorFromRGBA(0x4F, 0xC3, 0x4C, 0xff)); nowstepLabel->SetAlign(TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_CENTER); -- 2.17.1