优化applist弧形列表从主页面进入列表显示 2796/1
authorluozheng <1732036298@qq.com>
Mon, 24 Nov 2025 07:18:25 +0000 (15:18 +0800)
committerluozheng <1732036298@qq.com>
Mon, 24 Nov 2025 07:18:25 +0000 (15:18 +0800)
code/sdk/application/wearable/fd230/nativeapp/nativeui/applist/src/ApplistView.cpp
code/sdk/application/wearable/fd272/nativeapp/nativeui/applist/src/ApplistView.cpp
code/sdk/application/wearable/n9/nativeapp/nativeui/applist/src/ApplistView.cpp

index 2442348..026b1f7 100644 (file)
@@ -389,7 +389,7 @@ void ApplistView::ArcScaleListStyleOnSetUpView(void)
         if (presliceId == VIEW_MAIN) //如果是从主页进入的,那么startIndex = 0,headY = 0
         {
             startIndex = 0;
-            headY = 0;
+            headY = 53;
         } else { //如果是从其他页面进入的,那么startIndex = presenter_->GetArcListStartIndex(),headY = presenter_->GetArcListHeadItemY()
             startIndex = presenter_->GetArcListStartIndex();
             headY = presenter_->GetArcListHeadItemY();
index 52a49f9..046105b 100644 (file)
@@ -389,7 +389,7 @@ void ApplistView::ArcScaleListStyleOnSetUpView(void)
         if (presliceId == VIEW_MAIN) //如果是从主页进入的,那么startIndex = 0,headY = 0
         {
             startIndex = 0;
-            headY = 0;
+            headY = 53;
         } else { //如果是从其他页面进入的,那么startIndex = presenter_->GetArcListStartIndex(),headY = presenter_->GetArcListHeadItemY()
             startIndex = presenter_->GetArcListStartIndex();
             headY = presenter_->GetArcListHeadItemY();
index aefab5f..26c41b7 100644 (file)
@@ -389,7 +389,7 @@ void ApplistView::ArcScaleListStyleOnSetUpView(void)
         if (presliceId == VIEW_MAIN) //如果是从主页进入的,那么startIndex = 0,headY = 0
         {
             startIndex = 0;
-            headY = 0;
+            headY = 53;
         } else { //如果是从其他页面进入的,那么startIndex = presenter_->GetArcListStartIndex(),headY = presenter_->GetArcListHeadItemY()
             startIndex = presenter_->GetArcListStartIndex();
             headY = presenter_->GetArcListHeadItemY();