1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-05 05:12:05 -04:00

Fix height and truncate text/URLs

This commit is contained in:
purian23
2026-02-15 16:34:09 -05:00
committed by bbedward
parent 31b328d428
commit 7784488a61
2 changed files with 6 additions and 5 deletions

View File

@@ -595,7 +595,7 @@ Rectangle {
width: parent.width
elide: messageExpanded ? Text.ElideNone : Text.ElideRight
maximumLineCount: messageExpanded ? -1 : 2
wrapMode: Text.WordWrap
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
visible: text.length > 0
linkColor: Theme.primary
onLinkActivated: link => Qt.openUrlExternally(link)
@@ -778,7 +778,7 @@ Rectangle {
anchors.right: clearButton.visible ? clearButton.left : parent.right
anchors.rightMargin: clearButton.visible ? contentSpacing : Theme.spacingL
anchors.top: collapsedContent.bottom
anchors.topMargin: contentSpacing
anchors.topMargin: contentSpacing + collapsedDismissOffset
spacing: contentSpacing
Repeater {