WindowHeapDelegate: restore anchors.horizontalCenter

It's still needed, otherwise the text is not center aligned with the
thumbnail.
This commit is contained in:
Fushan Wen 2023-09-29 20:08:35 +08:00
parent c342d57116
commit a16506c665
No known key found for this signature in database
GPG key ID: 2E48D1487C91DCAA

View file

@ -173,6 +173,7 @@ Item {
visible: thumb.windowTitleVisible
width: thumb.width
anchors.top: parent.bottom
anchors.horizontalCenter: parent.horizontalCenter
elide: Text.ElideRight
text: thumb.window.caption
textFormat: Text.PlainText