Fix(StatusStackModal): fix height calculation (#745)
This commit is contained in:
parent
64d6beb4a0
commit
a2e9f813a5
|
@ -58,7 +58,6 @@ StatusModal {
|
|||
onReplaceItemChanged: updateRightButtons()
|
||||
|
||||
width: 640
|
||||
height: Math.max(implicitHeight, replaceLoader.implicitHeight)
|
||||
padding: 16
|
||||
|
||||
header.title: replaceLoader.item && typeof(replaceLoader.item.title) != "undefined"
|
||||
|
@ -84,8 +83,8 @@ StatusModal {
|
|||
Item {
|
||||
id: content
|
||||
anchors.fill: parent
|
||||
implicitWidth: stackLayout.implicitWidth
|
||||
implicitHeight: stackLayout.implicitHeight
|
||||
implicitWidth: Math.max(stackLayout.implicitWidth, replaceLoader.implicitWidth)
|
||||
implicitHeight: Math.max(stackLayout.implicitHeight, replaceLoader.implicitHeight)
|
||||
clip: true
|
||||
|
||||
StatusAnimatedStack {
|
||||
|
|
Loading…
Reference in New Issue