From a714e8b2d125097941d87bab73bea22f9a2724b6 Mon Sep 17 00:00:00 2001 From: Alexandra Betouni <31625338+alexandraB99@users.noreply.github.com> Date: Thu, 8 Feb 2024 13:42:40 +0200 Subject: [PATCH] [Communities]: Fixed community key text area scrolling Closes #12620 --- ui/imports/shared/popups/ImportCommunityPopup.qml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/ui/imports/shared/popups/ImportCommunityPopup.qml b/ui/imports/shared/popups/ImportCommunityPopup.qml index 709e942b5e..b7615c682a 100644 --- a/ui/imports/shared/popups/ImportCommunityPopup.qml +++ b/ui/imports/shared/popups/ImportCommunityPopup.qml @@ -147,14 +147,17 @@ StatusDialog { text: qsTr("Community key") color: Theme.palette.directColor1 } - - StatusTextArea { - id: keyInput + StatusScrollView { + padding: 0 // use our own (StatusTextArea) padding Layout.fillWidth: true Layout.preferredHeight: 108 - placeholderText: "0x0..." - wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere - onTextChanged: d.importErrorMessage = "" + StatusTextArea { + id: keyInput + anchors.fill: parent + placeholderText: "0x0..." + wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere + onTextChanged: d.importErrorMessage = "" + } } RowLayout { Layout.fillWidth: true