summaryrefslogtreecommitdiff
path: root/modules/launcher
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-04 14:31:15 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-04 14:31:15 +1000
commitbe269582daa707f0b7ead5160316b168523e39d0 (patch)
tree76954d22cc60135d6a474375f57a79a7c5c19462 /modules/launcher
parentfeat: cache wallpapers (diff)
downloadcaelestia-shell-be269582daa707f0b7ead5160316b168523e39d0.tar.gz
caelestia-shell-be269582daa707f0b7ead5160316b168523e39d0.tar.bz2
caelestia-shell-be269582daa707f0b7ead5160316b168523e39d0.zip
launcher: elide wallpaper names
Diffstat (limited to 'modules/launcher')
-rw-r--r--modules/launcher/WallpaperItem.qml3
1 files changed, 3 insertions, 0 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