diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-04 14:31:15 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-04 14:31:15 +1000 |
| commit | be269582daa707f0b7ead5160316b168523e39d0 (patch) | |
| tree | 76954d22cc60135d6a474375f57a79a7c5c19462 | |
| parent | feat: cache wallpapers (diff) | |
| download | caelestia-shell-be269582daa707f0b7ead5160316b168523e39d0.tar.gz caelestia-shell-be269582daa707f0b7ead5160316b168523e39d0.tar.bz2 caelestia-shell-be269582daa707f0b7ead5160316b168523e39d0.zip | |
launcher: elide wallpaper names
| -rw-r--r-- | modules/launcher/WallpaperItem.qml | 3 | ||||
| -rw-r--r-- | services/Thumbnailer.qml | 1 |
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 { |