summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-20 12:26:37 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-20 12:26:37 +1000
commit1c5beb39d7e88daa26538302481e959a6b81b0a9 (patch)
tree8e42e21533cdc9ee4a8cbd9bc302e6043d4a4c16
parentinternal: remove unnecessary import (diff)
downloadcaelestia-shell-1c5beb39d7e88daa26538302481e959a6b81b0a9.tar.gz
caelestia-shell-1c5beb39d7e88daa26538302481e959a6b81b0a9.tar.bz2
caelestia-shell-1c5beb39d7e88daa26538302481e959a6b81b0a9.zip
filedialog: fix item size
-rw-r--r--widgets/filedialog/FolderContents.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/widgets/filedialog/FolderContents.qml b/widgets/filedialog/FolderContents.qml
index c6129df..70ac11f 100644
--- a/widgets/filedialog/FolderContents.qml
+++ b/widgets/filedialog/FolderContents.qml
@@ -15,6 +15,9 @@ GridView {
required property var dialog
+ cellWidth: Sizes.itemWidth + Appearance.spacing.small
+ cellHeight: Sizes.itemWidth + Appearance.spacing.small * 2 + Appearance.padding.normal * 2 + 1
+
clip: true
focus: true
currentIndex: -1
@@ -73,7 +76,7 @@ GridView {
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
- anchors.topMargin: Appearance.spacing.normal
+ anchors.topMargin: Appearance.padding.normal
asynchronous: true
implicitSize: Sizes.itemWidth - Appearance.padding.normal * 2