summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/launcher/WallpaperItem.qml3
-rw-r--r--services/Thumbnailer.qml1
2 files changed, 3 insertions, 1 deletions
diff --git a/modules/launcher/WallpaperItem.qml b/modules/launcher/WallpaperItem.qml
index c3dd57a..19c599f 100644
--- a/modules/launcher/WallpaperItem.qml
+++ b/modules/launcher/WallpaperItem.qml
@@ -64,6 +64,9 @@ StyledRect {
anchors.topMargin: Appearance.spacing.small / 2
anchors.horizontalCenter: parent.horizontalCenter
+ width: image.width - Appearance.padding.normal * 2
+ horizontalAlignment: Text.AlignHCenter
+ elide: Text.ElideRight
renderType: Text.QtRendering
text: root.modelData.name
font.pointSize: Appearance.font.size.normal
diff --git a/services/Thumbnailer.qml b/services/Thumbnailer.qml
index 1e22940..7f7a9a4 100644
--- a/services/Thumbnailer.qml
+++ b/services/Thumbnailer.qml
@@ -2,7 +2,6 @@ pragma Singleton
import Quickshell
import Quickshell.Io
-import QtQuick
import Qt.labs.platform
Singleton {