From 17d2866701556a883f5f42eb67835ec9981443c0 Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Thu, 14 Nov 2024 11:34:58 +0800 Subject: [PATCH] =?utf8?q?=E5=A2=9E=E5=8A=A0=E9=95=BF=E6=8C=89=E5=88=A0?= =?utf8?q?=E9=99=A4=E6=96=87=E5=AD=97=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd230app/nativeui/phone/src/MainPhoneView.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/phone/src/MainPhoneView.cpp b/code/sdk/application/wearable/fd230app/nativeui/phone/src/MainPhoneView.cpp index 638de92ff..4e0361450 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/phone/src/MainPhoneView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/phone/src/MainPhoneView.cpp @@ -684,8 +684,8 @@ namespace OHOS labelParam.width = 300; labelParam.height = 100; labelParam.fontSize = 22; - labelParam.lineHeigh = 15; - labelParam.text = "注:只保留最近20条通话记录"; + labelParam.lineHeigh = 25; + labelParam.text = "注:只保留最近20条通话记录\n长按删除"; labelParam.lineBreakMode = UILabel::LINE_BREAK_MARQUEE, hintCallsLabel = TelephonyInitInterface::LabelViewInit(labelParam,Color::GetColorFromRGBA(0x99, 0x99, 0x99, 0xff)); @@ -694,8 +694,8 @@ namespace OHOS WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "MainPhoneView::MainPhoneViewTitleLabel new fail!"); } hintCallsLabel->SetVisible(true); - hintCallsLabel->SetTextId(STR_NOTE_RECENT_CALLS_LIMITATION); - + //hintCallsLabel->SetTextId(STR_NOTE_RECENT_CALLS_LIMITATION); + hintCallsLabel->SetAlign(TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_CENTER); // 设置此文本的对齐模式 MainPhoneViewScrollView->Add(hintCallsLabel); } -- 2.17.1