1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00

elide, dont wrap spotlight/launcher results

This commit is contained in:
bbedward
2025-10-14 12:58:13 -04:00
parent 748d4fe2ac
commit 4464589c0f
3 changed files with 10 additions and 4 deletions

View File

@@ -130,6 +130,8 @@ Rectangle {
color: Theme.surfaceText
font.weight: Font.Medium
elide: Text.ElideRight
wrapMode: Text.NoWrap
maximumLineCount: 1
}
StyledText {
@@ -291,8 +293,8 @@ Rectangle {
font.weight: Font.Medium
elide: Text.ElideRight
horizontalAlignment: Text.AlignHCenter
maximumLineCount: 2
wrapMode: Text.WordWrap
maximumLineCount: 1
wrapMode: Text.NoWrap
}
}

View File

@@ -449,6 +449,8 @@ DankPopout {
color: Theme.surfaceText
font.weight: Font.Medium
elide: Text.ElideRight
wrapMode: Text.NoWrap
maximumLineCount: 1
}
StyledText {
@@ -620,8 +622,8 @@ DankPopout {
font.weight: Font.Medium
elide: Text.ElideRight
horizontalAlignment: Text.AlignHCenter
maximumLineCount: 2
wrapMode: Text.WordWrap
maximumLineCount: 1
wrapMode: Text.NoWrap
}
}

View File

@@ -761,6 +761,8 @@ Item {
Repeater {
model: 6
delegate: Rectangle {
required property int index
width: 2
height: {
if (MprisController.activePlayer?.playbackState === MprisPlaybackState.Playing && CavaService.values.length > index) {