launcher: elide wallpaper names

This commit is contained in:
2 * r + 2 * t 2025-05-04 14:31:15 +10:00
parent 9c4821b4b4
commit be269582da
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -2,7 +2,6 @@ pragma Singleton
import Quickshell
import Quickshell.Io
import QtQuick
import Qt.labs.platform
Singleton {