1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-10 12:03:18 +02:00

Fingerprint : prevent overflow when zooming

GitLab: #1347
Change-Id: I2b1862b1df7b2bcc7c173a04b50c006d861241d2
This commit is contained in:
cberthet 2023-09-26 12:01:03 -04:00
parent ad29993e17
commit 1bd7d75d29

View file

@ -24,6 +24,7 @@ import net.jami.Constants 1.1
Item {
id: jamiId
property bool slimDisplay: true
property color backgroundColor: JamiTheme.welcomeBlockColor
property color contentColor: JamiTheme.tintedBlue
@ -104,6 +105,8 @@ Item {
visible: usernameTextEdit.readOnly
Layout.alignment: Qt.AlignVCenter
Layout.rightMargin: JamiTheme.pushButtonMargins
Layout.maximumWidth: leftRect.width - 50
elide: Text.ElideRight
color: jamiId.contentColor
font.pixelSize : text.length > 16 ? JamiTheme.jamiIdSmallFontSize : JamiTheme.bigFontSize
property string registeredName: CurrentAccount.registeredName