From d29e5406de980852a15bff9ab0f9d4b21b31a611 Mon Sep 17 00:00:00 2001 From: Igor Sirotin Date: Fri, 9 Feb 2024 10:58:02 +0000 Subject: [PATCH] fix: display name width calculation (#13446) --- ui/StatusQ/src/StatusQ/Components/StatusMessageHeader.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/StatusQ/src/StatusQ/Components/StatusMessageHeader.qml b/ui/StatusQ/src/StatusQ/Components/StatusMessageHeader.qml index 070272957b..b14a632844 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusMessageHeader.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusMessageHeader.qml @@ -45,7 +45,7 @@ Item { objectName: "StatusMessageHeader_DisplayName" verticalAlignment: Text.AlignVCenter Layout.fillWidth: true - Layout.maximumWidth: implicitWidth + Layout.maximumWidth: Math.ceil(implicitWidth) Layout.bottomMargin: 2 // offset for the underline to stay vertically centered font.weight: Font.Medium font.underline: mouseArea.containsMouse