From 59b9532cb8172b6d6788666fc2cfca4cb3a1365e Mon Sep 17 00:00:00 2001 From: Mikhail Rogachev Date: Wed, 29 Jun 2022 21:04:17 +0300 Subject: [PATCH] Fix(StatusStackModal): fix height calculation (#745) --- ui/StatusQ/src/StatusQ/Popups/StatusStackModal.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ui/StatusQ/src/StatusQ/Popups/StatusStackModal.qml b/ui/StatusQ/src/StatusQ/Popups/StatusStackModal.qml index 1d3fa52df4..41b2ae8ad5 100644 --- a/ui/StatusQ/src/StatusQ/Popups/StatusStackModal.qml +++ b/ui/StatusQ/src/StatusQ/Popups/StatusStackModal.qml @@ -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 {