Fix WallpaperSelector scrolling
This commit is contained in:
parent
2a55cc03c8
commit
d345e3fbc0
1 changed files with 4 additions and 1 deletions
|
|
@ -122,8 +122,11 @@ Item {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
clip: true
|
clip: true
|
||||||
model: folderModel
|
model: folderModel
|
||||||
|
|
||||||
|
boundsBehavior: Flickable.StopAtBounds
|
||||||
|
flickableDirection: Flickable.AutoFlickDirection
|
||||||
|
interactive: false
|
||||||
|
|
||||||
// Fixed 5 items per row - more aggressive sizing
|
|
||||||
property int columns: 5
|
property int columns: 5
|
||||||
property int itemSize: Math.floor(
|
property int itemSize: Math.floor(
|
||||||
(width - leftMargin - rightMargin - (4 * Style.marginSmall * scaling)) / columns)
|
(width - leftMargin - rightMargin - (4 * Style.marginSmall * scaling)) / columns)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue