修复通话号码过长显示问题 二级拨号盘点击特效问题 #508 #676 #488 959/2 959/head
authorhcj <1224667075@qq.com>
Thu, 12 Sep 2024 13:18:03 +0000 (21:18 +0800)
committerhcj <1224667075@qq.com>
Thu, 12 Sep 2024 13:18:03 +0000 (21:18 +0800)
code/sdk/application/wearable/fd230app/nativeui/makephone/src/CallingView.cpp

index be32c2f..321c245 100644 (file)
@@ -262,7 +262,7 @@ bool CallingView::InitUILabelDisplay()
     callerDisplay->SetAlign(TEXT_ALIGNMENT_CENTER);
     callerDisplay->SetFont(DEFAULT_VECTOR_FONT_FILENAME, LABEL_DISPLAY_FONE_SIZE);
     callerDisplay->SetTextColor(Color::White());
-    callerDisplay->SetLineBreakMode(UILabel::LINE_BREAK_WRAP);
+    callerDisplay->SetLineBreakMode(UILabel::LINE_BREAK_MARQUEE);
     group->Add(callerDisplay);
 
     // callDuration = new UILabel();
@@ -372,7 +372,7 @@ bool CallingView::Initshowdial()
 
             labelButton[showdial_i]->SetText(dial_id_str[showdial_i]);
             labelButton[showdial_i]->SetFont(DEFAULT_VECTOR_FONT_FILENAME, 40);
-            labelButton[showdial_i]->SetStyleForState(STYLE_BORDER_COLOR, 0xff0b1928, UIButton::PRESSED);
+            labelButton[showdial_i]->SetStyleForState(STYLE_BORDER_COLOR, 0xff191919, UIButton::PRESSED);
 
             dial_group->Add(labelButton[showdial_i]);
             labelButton[showdial_i]->SetVisible(true);