#455运动准备界面,运动名称往上移一点,所有的运动界面都这样
authorCaisking <3449750381@qq.com>
Wed, 4 Sep 2024 03:44:45 +0000 (11:44 +0800)
committerCaisking <3449750381@qq.com>
Wed, 4 Sep 2024 03:44:45 +0000 (11:44 +0800)
code/sdk/application/wearable/fd230app/nativeui/traing/src/TraingNomalView.cpp

index 8593777..54d3cf3 100644 (file)
@@ -47,15 +47,15 @@ namespace OHOS
         UIResourceTextId sport_id = TraingModel::GetInstance()->GetSportEvent();
 
         // 初始化Lable
-        InitLabelExt(sporttitle_, 137, 52, 200, 80, "label1", sport_id, DEFAULT_VECTOR_FONT_FILENAME, 30);
+        InitLabelExt(sporttitle_, 83, 50, 300, 35, "label1", sport_id, DEFAULT_VECTOR_FONT_FILENAME, 30);
         container_->Add(sporttitle_);
+        
         // 初始化Button
         InitButton(buttonGo_, 133, 133, 200, 200, BUTTONGO);
-        // Set additional property
         buttonGo_->SetImageSrc(GO_1_IMAGE, GO_1_IMAGE);
 
         // 显示设置目标
-        InitButtonExt(buttonSet_, 160, 370, 150, 50, BUTTONSET, STR_SET_GOALS, 30);
+        InitButtonExt(buttonSet_, 68, 370, 330, 35, BUTTONSET, STR_SET_GOALS, 30);
         if (TraingModel::GetInstance()->GetTagStr() != "")
         {
             buttonSet_->SetText((TraingModel::GetInstance()->GetTagStr()).c_str());