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