1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-03 14:25:38 +02:00

SwarmId: enable selection by mouse

Change-Id: Ie20d0d716eaaa7f6d6018e50f73560498ff6d918
This commit is contained in:
cberthet 2023-12-14 10:17:26 -05:00 committed by Sébastien Blin
parent 48e9887129
commit e2da7777de

View file

@ -501,6 +501,8 @@ Rectangle {
verticalAlignment: Text.AlignVCenter
color: JamiTheme.textColor
}
Text {
@ -522,6 +524,7 @@ Rectangle {
visible: LRCInstance.debugMode()
Text {
id: identifierText
Layout.fillWidth: true
Layout.preferredHeight: 30
Layout.rightMargin: JamiTheme.preferredMarginSize
@ -536,7 +539,7 @@ Rectangle {
color: JamiTheme.textColor
}
Text {
TextEdit {
Layout.alignment: Qt.AlignRight
Layout.rightMargin: JamiTheme.preferredMarginSize
@ -544,8 +547,16 @@ Rectangle {
font.pixelSize: JamiTheme.settingsDescriptionPixelSize
font.weight: Font.Medium
text: CurrentConversation.id
elide: Text.ElideRight
selectByMouse: true
readOnly: true
text: textMetricsIdentifier.elidedText
TextMetrics {
id: textMetricsIdentifier
text: CurrentConversation.id
elideWidth: aboutSwarm.width - identifierText.width - 2 * JamiTheme.preferredMarginSize
elide: Qt.ElideRight
}
}
}
}