From cd027db503d492696a1b4c71cc4b9add4f0e9776 Mon Sep 17 00:00:00 2001 From: Fadi SHEHADEH <fadi.shehadeh@savoirfairelinux.com> Date: Thu, 12 May 2022 16:03:46 -0400 Subject: [PATCH] contact detail: fix width for identifier replaced width by layout.preferredWidth Change-Id: Ie72047cd2745b7bf0ca10617b8e178b1ecde90a4 GitLab: #736 --- src/mainview/components/UserProfile.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainview/components/UserProfile.qml b/src/mainview/components/UserProfile.qml index 398503337..520816abe 100644 --- a/src/mainview/components/UserProfile.qml +++ b/src/mainview/components/UserProfile.qml @@ -155,7 +155,7 @@ BaseModalDialog { id: contactId Layout.alignment: Qt.AlignLeft - width: userProfileContentRect.width - 200 + Layout.preferredWidth: userProfileContentRect.width - 200 font.pointSize: JamiTheme.textFontSize font.kerning: true @@ -164,7 +164,7 @@ BaseModalDialog { readOnly: true selectByMouse: true - wrapMode: Text.WrapAnywhere + wrapMode: TextEdit.WrapAnywhere text: idText horizontalAlignment: Text.AlignLeft -- GitLab