chore(CreateCommunityPopup): ensure popup occupies optimal height

Modal should go to the full height of the window if the window isn't
tall enough to display the content without scrolling.
This commit is contained in:
Patryk Osmaczko 2022-06-09 14:59:34 +02:00 committed by osmaczko
parent 16dec86cef
commit 19235e2b79
1 changed files with 1 additions and 2 deletions

View File

@ -62,8 +62,6 @@ StatusModal {
anchors.fill: parent anchors.fill: parent
implicitHeight: 720
Flickable { Flickable {
id: generalView id: generalView
@ -71,6 +69,7 @@ StatusModal {
clip: true clip: true
contentHeight: generalViewLayout.height contentHeight: generalViewLayout.height
implicitHeight: generalViewLayout.implicitHeight
interactive: contentHeight > height interactive: contentHeight > height
flickableDirection: Flickable.VerticalFlick flickableDirection: Flickable.VerticalFlick