diff --git a/src/app/commoncomponents/JamiIdentifier.qml b/src/app/commoncomponents/JamiIdentifier.qml index f583d21690755e63010b2107642dbcd008649144..6264651ca72cc6d2a0a5cdc80931a08d83230001 100644 --- a/src/app/commoncomponents/JamiIdentifier.qml +++ b/src/app/commoncomponents/JamiIdentifier.qml @@ -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