diff --git a/modules/launcher/WallpaperItem.qml b/modules/launcher/WallpaperItem.qml index c3dd57a4..19c599f1 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 1e22940f..7f7a9a4c 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 {