fix(ui): size label rail from available space

This commit is contained in:
2026-06-06 23:55:34 +00:00
parent 88074ccb47
commit 50cfc9e66e
2 changed files with 22 additions and 51 deletions
+3 -1
View File
@@ -104,7 +104,8 @@ Item {
}
clip: holdsArtworkSlot
implicitHeight: holdsArtworkSlot ? artworkSize : labelTextColumn.implicitHeight
implicitWidth: artworkSize
implicitHeight: artworkSize
onArtworkSourceChanged: handleArtworkSourceChange()
Component.onCompleted: handleArtworkSourceChange()
@@ -184,6 +185,7 @@ Item {
anchors.left: parent.left
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
spacing: labelContent.verticalSpacing
opacity: labelContent.textOpacity
visible: opacity > 0