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.
This commit is contained in:
parent
51c517f2b8
commit
9ef65cbe03
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue