Account settings: make user ID label copiable
This commit is contained in:
parent
3d8914cb39
commit
74ffbdb0a8
|
@ -202,14 +202,22 @@ HFlickableColumnPage {
|
|||
}
|
||||
}
|
||||
|
||||
HLabel {
|
||||
HSelectableLabel {
|
||||
textFormat: HSelectableLabel.RichText
|
||||
wrapMode: HLabel.Wrap
|
||||
text: qsTr("User ID: %1")
|
||||
.arg(utils.coloredNameHtml("", userId, userId))
|
||||
textFormat: Text.StyledText
|
||||
wrapMode: HLabel.Wrap
|
||||
lineHeight: 1.1
|
||||
|
||||
Layout.fillWidth: true
|
||||
|
||||
TapHandler {
|
||||
acceptedButtons: Qt.RightButton
|
||||
onTapped: idMenu.spawn()
|
||||
}
|
||||
|
||||
HTextContextMenu {
|
||||
id: idMenu
|
||||
}
|
||||
}
|
||||
|
||||
HLabeledItem {
|
||||
|
|
Loading…
Reference in New Issue
Block a user