From f942b0bf7a05125cd7ea9ab222d5a56f544ea308 Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Tue, 27 Aug 2024 17:46:08 +0800 Subject: [PATCH] =?utf8?q?=E6=9B=B4=E6=8D=A2SOS=E4=B8=8E=E5=85=B3=E6=9C=BA?= =?utf8?q?=E5=9B=BE=E6=A0=87=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd230app/nativeui/rebootdevice/src/RebootView.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/rebootdevice/src/RebootView.cpp b/code/sdk/application/wearable/fd230app/nativeui/rebootdevice/src/RebootView.cpp index 1783f75f4..b44405b14 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/rebootdevice/src/RebootView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/rebootdevice/src/RebootView.cpp @@ -144,7 +144,7 @@ namespace OHOS return false; } } - rebootLabel->SetPosition(43, 272, 200, 45); // 49:x 272:y 150:width 45:height + rebootLabel->SetPosition(223, 272, 200, 45); // 49:x 272:y 150:width 45:height rebootLabel->SetText("SOS"); rebootLabel->SetLineBreakMode(UILabel::LINE_BREAK_WRAP); rebootLabel->SetFont(DEFAULT_VECTOR_FONT_FILENAME, 35); // 35:font data @@ -161,7 +161,7 @@ namespace OHOS return false; } } - rebootButton->SetPosition(93, 160, 100, 100); // 69:x 147:y 110:width 110:height + rebootButton->SetPosition(273, 160, 100, 100); // 69:x 147:y 110:width 110:height rebootButton->SetImageSrc(PNG_SETTINGS_SETTTING_SOS, PNG_SETTINGS_SETTTING_SOS); rebootButton->SetImagePosition(0, 0); rebootButton->SetStyle(STYLE_BACKGROUND_COLOR, 0xff4fc34c); @@ -263,7 +263,7 @@ namespace OHOS return false; } } - shutdownLabel->SetPosition(223, 272, 200, 45); // 255:x 272:y 150:width 45:height + shutdownLabel->SetPosition(43, 272, 200, 45); // 255:x 272:y 150:width 45:height43 shutdownLabel->SetText("关机"); shutdownLabel->SetLineBreakMode(UILabel::LINE_BREAK_WRAP); shutdownLabel->SetTextId(STR_SHUTDOWN); @@ -281,7 +281,7 @@ namespace OHOS return false; } } - shutdownButton->SetPosition(273, 160, 100, 100); // 275:x 147:y 110:width 110:height + shutdownButton->SetPosition(93, 160, 100, 100); // 275:x 147:y 110:width 110:height93 shutdownButton->SetImageSrc(PNG_SETTINGS_SETTTING_SHUTDOWN_1, PNG_SETTINGS_SETTTING_SHUTDOWN_1); shutdownButton->SetImagePosition(0, 0); shutdownButton->SetStyle(STYLE_BACKGROUND_COLOR, 0xffff5a36); -- 2.17.1