WindowHeapDelegate: fix a binding loop warning

It doesn't make sense to use Math.min when the label is always placed at
the bottom center of the thumbnail item.
master
Fushan Wen 12 months ago
parent 51c517f2b8
commit 9ef65cbe03
No known key found for this signature in database
GPG Key ID: 2E48D1487C91DCAA

@ -171,9 +171,8 @@ Item {
WorkspaceComponents.ShadowedLabel {
id: caption
visible: thumb.windowTitleVisible
width: Math.min(implicitWidth, thumb.width)
width: thumb.width
anchors.top: parent.bottom
anchors.horizontalCenter: parent.horizontalCenter
elide: Text.ElideRight
text: thumb.window.caption
textFormat: Text.PlainText

Loading…
Cancel
Save