[Communities]: Fixed community key text area scrolling

Closes #12620
This commit is contained in:
Alexandra Betouni 2024-02-08 13:42:40 +02:00
parent 8b7efa3122
commit a714e8b2d1
1 changed files with 9 additions and 6 deletions

View File

@ -147,15 +147,18 @@ StatusDialog {
text: qsTr("Community key") text: qsTr("Community key")
color: Theme.palette.directColor1 color: Theme.palette.directColor1
} }
StatusScrollView {
StatusTextArea { padding: 0 // use our own (StatusTextArea) padding
id: keyInput
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: 108 Layout.preferredHeight: 108
StatusTextArea {
id: keyInput
anchors.fill: parent
placeholderText: "0x0..." placeholderText: "0x0..."
wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere
onTextChanged: d.importErrorMessage = "" onTextChanged: d.importErrorMessage = ""
} }
}
RowLayout { RowLayout {
Layout.fillWidth: true Layout.fillWidth: true
Layout.minimumHeight: 46 Layout.minimumHeight: 46