From 5eafa111e2e1a0be34e685645f4a2a6b9d945dcd Mon Sep 17 00:00:00 2001 From: Caisking <3449750381@qq.com> Date: Mon, 21 Oct 2024 10:25:47 +0800 Subject: [PATCH] =?utf8?q?=E8=AF=AD=E9=9F=B3=E5=8A=A9=E6=89=8B=EF=BC=9A?= =?utf8?q?=E4=BF=AE=E5=A4=8D=E5=AF=B9=E8=AF=9D=E7=95=8C=E9=9D=A2=E7=9A=84?= =?utf8?q?=E5=BC=82=E5=B8=B8=E6=BB=91=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd230app/nativeui/assistant/src/AssistantAnswerView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/assistant/src/AssistantAnswerView.cpp b/code/sdk/application/wearable/fd230app/nativeui/assistant/src/AssistantAnswerView.cpp index db716306a..6a48af947 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/assistant/src/AssistantAnswerView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/assistant/src/AssistantAnswerView.cpp @@ -257,7 +257,7 @@ void AssistantAnswerView::InitScrollView() { scrollView->SetMaxScrollDistance(1000); scrollView->SetThrowDrag(true); scrollView->SetHorizontalScrollState(false); // 禁止水平滑动 - // scrollView->SetVerticalScrollState(false); // 禁止垂直滑动 + scrollView->SetVerticalScrollState(false); // 禁止垂直滑动 } void AssistantAnswerView::InitImageAnimator() { @@ -286,6 +286,7 @@ void AssistantAnswerView::InitNoteLabel() { notelabel->Resize(380, 60); notelabel->SetViewId("notelabel"); notelabel->SetStyle(STYLE_TEXT_FONT, 30); + //TODO:多国语言 notelabel->SetText("试试对我说“打电话给某人”"); notelabel->SetLineBreakMode(UILabel::LINE_BREAK_ELLIPSIS); notelabel->SetAlign(TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_CENTER); -- 2.17.1