fix(media widget): prevent title from truncating with scroll song title on (#3436)

(cherry picked from commit 0133962936)
This commit is contained in:
deepfriedret
2026-09-15 16:46:47 -04:00
committed by bbedward
parent 1b34aa0ce1
commit 938fabe27d
+2 -2
View File
@@ -68,8 +68,8 @@ Item {
anchors.verticalCenter: parent.verticalCenter
wrapMode: Text.NoWrap
width: root.needsScrolling ? implicitWidth : root.width
elide: root.needsScrolling ? Text.ElideNone : Text.ElideRight
width: Math.min(implicitWidth, root.width)
elide: SettingsData.scrollTitleEnabled ? Text.ElideNone : Text.ElideRight
x: Math.round((root.needsScrolling ? -Math.min(root.scrollOffset, root.maxScrollOffset) : 0) + root.textShift)
opacity: 1