From e6eae78f067d24c9444c48d658cbfca3b1f21ba7 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 7 Mar 2013 11:23:52 +0100 Subject: [PATCH] propagate size hints --- src/declarativeimports/plasmacomponents/qml/PageStack.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/declarativeimports/plasmacomponents/qml/PageStack.qml b/src/declarativeimports/plasmacomponents/qml/PageStack.qml index 8ed8bec3a..47d9eec84 100644 --- a/src/declarativeimports/plasmacomponents/qml/PageStack.qml +++ b/src/declarativeimports/plasmacomponents/qml/PageStack.qml @@ -173,6 +173,9 @@ Item { return Engine.find(func); } + implicitWidth: currentPage ? currentPage.implicitWidth : 0 + implicitHeight: currentPage ? currentPage.implicitHeight : 0 + // Called when the page stack visibility changes. onVisibleChanged: { if (currentPage) {