Cache app grid items to smooth out jank during scrolling and resizing
This commit is contained in:
parent
a56d27e3f2
commit
644c3c0c24
1 changed files with 4 additions and 0 deletions
|
|
@ -18,6 +18,10 @@ GridView {
|
||||||
cellWidth: 225; cellHeight: 350;
|
cellWidth: 225; cellHeight: 350;
|
||||||
focus: true
|
focus: true
|
||||||
|
|
||||||
|
// Cache delegates for 1000px in both directions to improve
|
||||||
|
// scrolling and resizing performance
|
||||||
|
cacheBuffer: 1000
|
||||||
|
|
||||||
// The StackView will trigger a visibility change when
|
// The StackView will trigger a visibility change when
|
||||||
// we're pushed onto it, causing our onVisibleChanged
|
// we're pushed onto it, causing our onVisibleChanged
|
||||||
// routine to run, but only if we start as invisible
|
// routine to run, but only if we start as invisible
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue