@@ -175,8 +175,8 @@ FocusScope {
175175 anchors.top: parent.top
176176 anchors.topMargin: root.decorationHeight * Math.min(1, root.showDecoration)
177177 anchors.left: parent.left
178− width: requestedWidth
179− height: requestedHeight
178+ width: implicitWidth
179+ height: implicitHeight
180180 requestedHeight: !counterRotate ? root.requestedHeight - d.requestedDecorationHeight : root.requestedWidth
181181 requestedWidth: !counterRotate ? root.requestedWidth : root.requestedHeight - d.requestedDecorationHeight
182182 property int oldRequestedWidth: requestedWidth