From bc67448c4dd716daf8cbf5063e5d3c77e9453f71 Mon Sep 17 00:00:00 2001 From: Fadi SHEHADEH <fadi.shehadeh@savoirfairelinux.com> Date: Thu, 12 May 2022 15:03:37 -0400 Subject: [PATCH] contact detail: fix selection for username replaced MaterialLineEdit by TextEdit Change-Id: I9e1dfa0a6a1b0a7bfd105cbf8890f1d8c57aeeb9 GitLab: #736 --- src/mainview/components/UserProfile.qml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/mainview/components/UserProfile.qml b/src/mainview/components/UserProfile.qml index f2b4d492e..398503337 100644 --- a/src/mainview/components/UserProfile.qml +++ b/src/mainview/components/UserProfile.qml @@ -66,7 +66,7 @@ BaseModalDialog { } // Visible when user alias is not empty and not equal to id. - MaterialLineEdit { + TextEdit { id: contactAlias Layout.alignment: Qt.AlignLeft @@ -76,8 +76,6 @@ BaseModalDialog { color: JamiTheme.textColor visible: aliasText ? (aliasText === idText ? false : true) : false - padding: 0 - readOnly: true selectByMouse: true wrapMode: Text.NoWrap @@ -118,7 +116,7 @@ BaseModalDialog { } // Visible when user name is not empty or equals to id. - MaterialLineEdit { + TextEdit { id: contactDisplayName Layout.alignment: Qt.AlignLeft @@ -128,7 +126,6 @@ BaseModalDialog { color: JamiTheme.textColor visible: registeredNameText ? (registeredNameText === idText ? false : true) : false - padding: 0 readOnly: true selectByMouse: true @@ -154,7 +151,7 @@ BaseModalDialog { color: JamiTheme.faddedFontColor } - MaterialLineEdit { + TextEdit { id: contactId Layout.alignment: Qt.AlignLeft @@ -164,7 +161,6 @@ BaseModalDialog { font.kerning: true color: JamiTheme.textColor - padding: 0 readOnly: true selectByMouse: true -- GitLab