@@ -92,8 +92,8 @@ FocusScope {
92 name: "normal"; when: root.scaleToPreviewProgress <= 0
92 name: "normal"; when: root.scaleToPreviewProgress <= 0
93 PropertyChanges {
93 PropertyChanges {
94 target: root
94 target: root
95− implicitWidth: applicationWindow.implicitWidth
95+ implicitWidth: counterRotate ? applicationWindow.implicitHeight : applicationWindow.implicitWidth
96− implicitHeight: root.decorationHeight + applicationWindow.implicitHeight
96+ implicitHeight: root.decorationHeight + (counterRotate ? applicationWindow.implicitWidth: applicationWindow.implicitHeight)
@@ -175,8 +175,8 @@ FocusScope {
175 anchors.top: parent.top
175 anchors.top: parent.top
176 anchors.topMargin: root.decorationHeight * Math.min(1, root.showDecoration)
176 anchors.topMargin: root.decorationHeight * Math.min(1, root.showDecoration)
177 anchors.left: parent.left
177 anchors.left: parent.left
178− width: root.width
178+ width: requestedWidth
179− height: root.height - anchors.topMargin
179+ height: requestedHeight
180 requestedHeight: !counterRotate ? root.requestedHeight - d.requestedDecorationHeight : root.requestedWidth
180 requestedHeight: !counterRotate ? root.requestedHeight - d.requestedDecorationHeight : root.requestedWidth
181 requestedWidth: !counterRotate ? root.requestedWidth : root.requestedHeight - d.requestedDecorationHeight
181 requestedWidth: !counterRotate ? root.requestedWidth : root.requestedHeight - d.requestedDecorationHeight
182 property int oldRequestedWidth: requestedWidth
182 property int oldRequestedWidth: requestedWidth