From: luozheng <1732036298@qq.com> Date: Wed, 30 Oct 2024 03:35:02 +0000 (+0800) Subject: 秒表界面优化 X-Git-Tag: fd230_release_V1.3.102~157^2~4 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F1290%2Fhead;p=mirrors%2FFD230.git 秒表界面优化 --- 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)