From a16506c665c856621e5ff83fc2ae4964f27f928e Mon Sep 17 00:00:00 2001 From: Fushan Wen Date: Fri, 29 Sep 2023 20:08:35 +0800 Subject: [PATCH] WindowHeapDelegate: restore `anchors.horizontalCenter` It's still needed, otherwise the text is not center aligned with the thumbnail. --- src/plugins/private/qml/WindowHeapDelegate.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/private/qml/WindowHeapDelegate.qml b/src/plugins/private/qml/WindowHeapDelegate.qml index 766444ceb4..2a87b59f6d 100644 --- a/src/plugins/private/qml/WindowHeapDelegate.qml +++ b/src/plugins/private/qml/WindowHeapDelegate.qml @@ -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