From 8a63f99c9600208b435d8cd53309c16043f3e952 Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Wed, 30 Oct 2024 11:35:02 +0800 Subject: [PATCH] =?utf8?q?=E7=A7=92=E8=A1=A8=E7=95=8C=E9=9D=A2=E4=BC=98?= =?utf8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd230app/nativeui/stopwatch/src/MainStopWatchView.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/sdk/application/wearable/fd230app/nativeui/stopwatch/src/MainStopWatchView.cpp b/code/sdk/application/wearable/fd230app/nativeui/stopwatch/src/MainStopWatchView.cpp index 89538ec79..0e117fb00 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/stopwatch/src/MainStopWatchView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/stopwatch/src/MainStopWatchView.cpp @@ -317,6 +317,9 @@ namespace OHOS return; } listadapter->SetFont(DEFAULT_VECTOR_FONT_FILENAME_EN, 28); + listadapter->SetWidth(356); + listadapter->SetHeight(32); + listadapter->SetLineBreakMode(UILabel::LINE_BREAK_CLIP); /* -------------------------------- listdata -------------------------------- */ listdata = new List(); if (listdata == nullptr) -- 2.17.1