From d6e3baa8edb738508a774b9d3785ccd195d65498 Mon Sep 17 00:00:00 2001 From: penglei <1624952103@qq.com> Date: Thu, 27 Jun 2024 16:47:31 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E5=A4=8D=E6=AD=A5=E6=95=B0=E7=95=8C?= =?utf8?q?=E9=9D=A2=E6=98=BE=E7=A4=BAbug?= 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 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); -- 2.17.1