fix: display name width calculation (#13446)

This commit is contained in:
Igor Sirotin 2024-02-09 10:58:02 +00:00 committed by GitHub
parent 319b5dd23e
commit d29e5406de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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