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:
parent
16dec86cef
commit
19235e2b79
|
@ -62,8 +62,6 @@ StatusModal {
|
|||
|
||||
anchors.fill: parent
|
||||
|
||||
implicitHeight: 720
|
||||
|
||||
Flickable {
|
||||
id: generalView
|
||||
|
||||
|
@ -71,6 +69,7 @@ StatusModal {
|
|||
|
||||
clip: true
|
||||
contentHeight: generalViewLayout.height
|
||||
implicitHeight: generalViewLayout.implicitHeight
|
||||
interactive: contentHeight > height
|
||||
flickableDirection: Flickable.VerticalFlick
|
||||
|
||||
|
|
Loading…
Reference in New Issue