diff --git a/ui/app/AppLayouts/Communities/popups/EnableShardingPopup.qml b/ui/app/AppLayouts/Communities/popups/EnableShardingPopup.qml index 8b3c13432c..a9a4a5a874 100644 --- a/ui/app/AppLayouts/Communities/popups/EnableShardingPopup.qml +++ b/ui/app/AppLayouts/Communities/popups/EnableShardingPopup.qml @@ -99,20 +99,23 @@ StatusStackModal { ColumnLayout { readonly property bool canGoNext: agreement.checked - StatusInput { + StatusBaseText { + text: qsTr("Pub/Sub topic") + } + + StatusTextArea { Layout.fillWidth: true - minimumHeight: 88 - maximumHeight: 88 - multiline: true - input.edit.readOnly: true - label: qsTr("Pub/Sub topic") + Layout.preferredHeight: 138 + readOnly: true text: d.pubSubTopic + rightPadding: 48 + wrapMode: TextEdit.Wrap CopyButton { anchors.right: parent.right anchors.top: parent.top anchors.rightMargin: 12 - anchors.topMargin: (parent.height - parent.input.height) + 12 + anchors.topMargin: 10 textToCopy: parent.text } } diff --git a/ui/app/AppLayouts/Communities/popups/ManageShardingPopup.qml b/ui/app/AppLayouts/Communities/popups/ManageShardingPopup.qml index 3501af0935..a2b55d2e0c 100644 --- a/ui/app/AppLayouts/Communities/popups/ManageShardingPopup.qml +++ b/ui/app/AppLayouts/Communities/popups/ManageShardingPopup.qml @@ -46,27 +46,35 @@ StatusDialog { contentItem: ColumnLayout { spacing: Style.current.halfPadding - StatusInput { + + StatusBaseText { + text: qsTr("Shard number") + } + + StatusTextArea { Layout.fillWidth: true - label: qsTr("Shard number") - input.edit.readOnly: true + readOnly: true text: root.shardIndex } - StatusInput { + StatusBaseText { + Layout.topMargin: Style.current.halfPadding + text: qsTr("Pub/Sub topic") + } + + StatusTextArea { Layout.fillWidth: true - minimumHeight: 88 - maximumHeight: 88 - multiline: true - input.edit.readOnly: true - label: qsTr("Pub/Sub topic") + Layout.preferredHeight: 138 + readOnly: true text: root.pubSubTopic + rightPadding: 48 + wrapMode: TextEdit.Wrap CopyButton { anchors.right: parent.right anchors.top: parent.top anchors.rightMargin: 12 - anchors.topMargin: (parent.height - parent.input.height) + 12 + anchors.topMargin: 10 textToCopy: parent.text } } diff --git a/ui/imports/shared/popups/ImportCommunityPopup.qml b/ui/imports/shared/popups/ImportCommunityPopup.qml index d5a1c6aa55..ed926d35a8 100644 --- a/ui/imports/shared/popups/ImportCommunityPopup.qml +++ b/ui/imports/shared/popups/ImportCommunityPopup.qml @@ -107,7 +107,7 @@ StatusDialog { StatusTextArea { id: keyInput Layout.fillWidth: true - implicitHeight: 108 + Layout.preferredHeight: 108 placeholderText: "0x0..." wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere onTextChanged: d.importErrorMessage = ""