Skip to content

Commit

Permalink
chore: spacing for category seeking
Browse files Browse the repository at this point in the history
从字母表视图点击字母后,跳转回主界面时,为首项之上的分组标题预留空间。

Log:
  • Loading branch information
BLumia committed Nov 5, 2023
1 parent 4df3f1a commit 65728fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qml/AppListView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Item {
// we use the highlight move to scroll to item
listView.highlightMoveDuration = 0
listView.highlightRangeMode = GridView.ApplyRange
listView.preferredHighlightBegin = 32 // the height of a section heading
listView.preferredHighlightEnd = 32
listView.currentIndex = i
listView.highlightMoveDuration = 150
listView.highlightRangeMode = GridView.NoHighlightRange
Expand Down

0 comments on commit 65728fd

Please sign in to comment.