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

UserProfile: be able to copy identifier

Change-Id: Ib402399f9339f537884f9833169d2c91243008b5
This commit is contained in:
Sébastien Blin 2023-11-27 09:11:52 -05:00
parent d42d1cd343
commit ed78c35fda

View file

@ -182,7 +182,7 @@ BaseModalDialog {
Layout.leftMargin: 10
}
Label {
TextEdit {
id: contactId
Layout.alignment: Qt.AlignLeft
Layout.preferredWidth: parent.width - identifierText.width - 35
@ -191,8 +191,17 @@ BaseModalDialog {
font.kerning: true
color: JamiTheme.textColor
elide: Text.ElideRight
text: idText
selectByMouse: true
readOnly: true
text: textMetricsContacIdText.elidedText
TextMetrics {
id: textMetricsContacIdText
font: contactDisplayName.font
text: idText
elideWidth: root.width - 200
elide: Qt.ElideMiddle
}
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter