mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 03:53:23 +02:00
Fingerprint : prevent overflow when zooming
GitLab: #1347 Change-Id: I2b1862b1df7b2bcc7c173a04b50c006d861241d2
This commit is contained in:
parent
ad29993e17
commit
1bd7d75d29
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue