Skip to content
Snippets Groups Projects
Commit 1bd7d75d authored by Capucine Berthet's avatar Capucine Berthet
Browse files

Fingerprint : prevent overflow when zooming

GitLab: #1347
Change-Id: I2b1862b1df7b2bcc7c173a04b50c006d861241d2
parent ad29993e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment