launcher: elide wallpaper names
This commit is contained in:
parent
9c4821b4b4
commit
be269582da
2 changed files with 3 additions and 1 deletions
|
|
@ -64,6 +64,9 @@ StyledRect {
|
||||||
anchors.topMargin: Appearance.spacing.small / 2
|
anchors.topMargin: Appearance.spacing.small / 2
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
|
||||||
|
width: image.width - Appearance.padding.normal * 2
|
||||||
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
elide: Text.ElideRight
|
||||||
renderType: Text.QtRendering
|
renderType: Text.QtRendering
|
||||||
text: root.modelData.name
|
text: root.modelData.name
|
||||||
font.pointSize: Appearance.font.size.normal
|
font.pointSize: Appearance.font.size.normal
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@ pragma Singleton
|
||||||
|
|
||||||
import Quickshell
|
import Quickshell
|
||||||
import Quickshell.Io
|
import Quickshell.Io
|
||||||
import QtQuick
|
|
||||||
import Qt.labs.platform
|
import Qt.labs.platform
|
||||||
|
|
||||||
Singleton {
|
Singleton {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue