mirror of https://github.com/status-im/StatusQ.git
fix(StatusModal): Remove self-calculating height
Based on Qt docs `contentItem` must have `implicit` sizes. link to rules: https://doc.qt.io/qt-5/qml-qtquick-controls2-popup.html#popup-sizing
This commit is contained in:
parent
d648230d79
commit
3187de5449
|
@ -24,7 +24,6 @@ QC.Popup {
|
|||
parent: QC.Overlay.overlay
|
||||
|
||||
width: 480
|
||||
implicitHeight: contentItem.implicitHeight + headerImpl.implicitHeight + footerImpl.implicitHeight
|
||||
|
||||
topPadding: headerImpl.implicitHeight
|
||||
bottomPadding: footerImpl.implicitHeight
|
||||
|
|
Loading…
Reference in New Issue