mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-24 21:39:24 +00:00
fix: display name width calculation (#13446)
This commit is contained in:
parent
319b5dd23e
commit
d29e5406de
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user