fix(@desktop/community) Community portal adjustment

Fixes #6723
This commit is contained in:
PavelS 2022-08-03 23:02:21 +03:00 committed by PavelS
parent 6b63d8ee7a
commit 6216a9536d
2 changed files with 4 additions and 2 deletions

View File

@ -20,6 +20,7 @@ StatusScrollView {
property CommunitiesStore communitiesStore: CommunitiesStore {}
property var importCommunitiesPopup: importCommunitiesPopupComponent
property var createCommunitiesPopup: createCommunitiesPopupComponent
property int contentPrefferedWidth: 100
QtObject {
id: d
@ -38,7 +39,7 @@ StatusScrollView {
}
contentHeight: column.height + d.layoutVMargin
contentWidth: column.width + d.layoutHMargin
contentWidth: root.contentPrefferedWidth - d.layoutHMargin
ColumnLayout {
id: column
@ -87,7 +88,7 @@ StatusScrollView {
StatusButton {
id: importBtn
Layout.fillHeight: true
text: qsTr("Import Community")
text: qsTr("Import using key")
onClicked: Global.openPopup(importCommunitiesPopupComponent)
}

View File

@ -545,6 +545,7 @@ Item {
Layout.fillWidth: true
Layout.alignment: Qt.AlignLeft | Qt.AlignTop
Layout.fillHeight: true
contentPrefferedWidth: appView.width
}
WalletLayout {