From: hcj <1224667075@qq.com> Date: Thu, 12 Sep 2024 13:18:03 +0000 (+0800) Subject: 修复通话号码过长显示问题 二级拨号盘点击特效问题 #508 #676 #488 X-Git-Tag: release_V1.2.70_20241020_135402~493 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F959%2Fhead;p=mirrors%2FFD230.git 修复通话号码过长显示问题 二级拨号盘点击特效问题 #508 #676 #488 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/makephone/src/CallingView.cpp b/code/sdk/application/wearable/fd230app/nativeui/makephone/src/CallingView.cpp index be32c2f90..321c2456b 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/makephone/src/CallingView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/makephone/src/CallingView.cpp @@ -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);