Wallpaper Selector: preferredHeight rounded up

This commit is contained in:
quadbyte 2025-08-13 00:58:12 -04:00
parent 5b6ed3577a
commit f2b7bd04db

View file

@ -106,7 +106,7 @@ Item {
Item { Item {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: { Layout.preferredHeight: {
return folderModel.count / wallpaperGridView.columns * wallpaperGridView.cellHeight return Math.ceil(folderModel.count / wallpaperGridView.columns) * wallpaperGridView.cellHeight
} }
FolderListModel { FolderListModel {