From be269582daa707f0b7ead5160316b168523e39d0 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 4 May 2025 14:31:15 +1000 Subject: launcher: elide wallpaper names --- modules/launcher/WallpaperItem.qml | 3 +++ services/Thumbnailer.qml | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.3-freya