From d553934b454c94c0ead3d3620d9816a4e9a32e6b Mon Sep 17 00:00:00 2001 From: Alexandra Betouni Date: Thu, 2 Feb 2023 17:10:44 +0200 Subject: [PATCH] fix(popups): set scrollview sizing --- .../CommunitiesPortal/popups/CreateCommunityPopup.qml | 2 ++ ui/app/AppLayouts/Wallet/popups/AddAccountModal.qml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/app/AppLayouts/CommunitiesPortal/popups/CreateCommunityPopup.qml b/ui/app/AppLayouts/CommunitiesPortal/popups/CreateCommunityPopup.qml index 0b3e8d7f49..b0edf16010 100644 --- a/ui/app/AppLayouts/CommunitiesPortal/popups/CreateCommunityPopup.qml +++ b/ui/app/AppLayouts/CommunitiesPortal/popups/CreateCommunityPopup.qml @@ -368,6 +368,8 @@ StatusStackModal { stackItems: [ StatusScrollView { id: generalView + implicitWidth: root.width + implicitHeight: root.height readonly property bool canGoNext: nameInput.valid && descriptionTextInput.valid diff --git a/ui/app/AppLayouts/Wallet/popups/AddAccountModal.qml b/ui/app/AppLayouts/Wallet/popups/AddAccountModal.qml index f2f232aca0..05c7638951 100644 --- a/ui/app/AppLayouts/Wallet/popups/AddAccountModal.qml +++ b/ui/app/AppLayouts/Wallet/popups/AddAccountModal.qml @@ -195,12 +195,12 @@ StatusModal { contentItem: StatusScrollView { id: scroll - width: root.width + implicitWidth: root.width + implicitHeight: 400 topPadding: Style.current.halfPadding bottomPadding: Style.current.halfPadding leftPadding: Style.current.padding rightPadding: Style.current.padding - height: 400 objectName: "AddAccountModalContent" Column {