Wallpaper Selector: preferredHeight rounded up
This commit is contained in:
parent
5b6ed3577a
commit
f2b7bd04db
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ Item {
|
|||
Item {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: {
|
||||
return folderModel.count / wallpaperGridView.columns * wallpaperGridView.cellHeight
|
||||
return Math.ceil(folderModel.count / wallpaperGridView.columns) * wallpaperGridView.cellHeight
|
||||
}
|
||||
|
||||
FolderListModel {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue