mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Wallpaper Selector: preferredHeight rounded up
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user