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:
parent
d42d1cd343
commit
ed78c35fda
1 changed files with 12 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue