update launcher/launcher/src/main/cpp/swipe_view.cpp.

Signed-off-by: tongkai0808fh <tongkai5@huawei.com>
This commit is contained in:
tongkai0808fh
2024-05-06 06:20:36 +00:00
committed by Gitee
parent de5be202c0
commit fa879cc0a3
@@ -116,7 +116,7 @@ void SwipeView::OnSetUpView()
// Reserved. Touch and hold to add a page.
arrPage_[0]->SetMatrix(APP_ROW_COUNT, APP_COL_COUNT);
arrPage_[0]->SetScale(0.6);
for (int16_t i = 1; i < groupCount; i++) {
for (int16_t i = 1; i < groupCount_; i++) {
arrPage_[i]->SetMatrix(APP_ROW_COUNT, 2 * APP_COL_COUNT); // 2 scale of first view's col count
arrPage_[i]->SetScale(0.69); // 0.69 blank/icon width
}