From: Caisking <3449750381@qq.com> Date: Tue, 15 Oct 2024 08:32:14 +0000 (+0800) Subject: 表盘:自定义表盘电池坐标优化 X-Git-Tag: release_V1.2.70_20241020_135402~42 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=615bd93eab995473d396c75169d96dc6c5b61c62;p=mirrors%2FFD230.git 表盘:自定义表盘电池坐标优化 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/clock/src/MainClockView.cpp b/code/sdk/application/wearable/fd230app/nativeui/clock/src/MainClockView.cpp index 00f003761..e19938cf1 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/clock/src/MainClockView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/clock/src/MainClockView.cpp @@ -371,9 +371,9 @@ namespace OHOS // 设置位置 batteryicon->SetPosition(186, 52, 100, 100); - batteryiamge->SetPosition(173, 52, 100, 100); + batteryiamge->SetPosition(176, 52, 100, 100); - batteryprogress->SetPosition(180, 58, 30, 18); + batteryprogress->SetPosition(182, 58, 30, 18); batteryprogress->SetViewId("progress"); batteryprogress->SetBackgroundStyle(STYLE_BACKGROUND_COLOR, 0xffffffff); batteryprogress->SetBackgroundStyle(STYLE_BACKGROUND_OPA, 0x00);