修复步数界面显示bug 392/2
authorpenglei <1624952103@qq.com>
Thu, 27 Jun 2024 08:47:31 +0000 (16:47 +0800)
committerpenglei <1624952103@qq.com>
Thu, 27 Jun 2024 08:47:31 +0000 (16:47 +0800)
code/sdk/application/wearable/fd230app/nativeui/goal/src/goalview.cpp

index 414047a..8ff2289 100644 (file)
@@ -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);