@@ -26,8 +26,8 @@ FocusScope {
26 // (minus the window decoration size in case hasDecoration and showDecoration are true)
26 // (minus the window decoration size in case hasDecoration and showDecoration are true)
27 // The surface might not be able to resize to the requested values. It will return its actual size
27 // The surface might not be able to resize to the requested values. It will return its actual size
28 // in implicitWidth/implicitHeight.
28 // in implicitWidth/implicitHeight.
29− implicitWidth: !counterRotate ? applicationWindow.implicitWidth : applicationWindow.implicitHeight
29+ implicitWidth: applicationWindow.implicitWidth
30− implicitHeight: decorationHeight + (!counterRotate ? applicationWindow.implicitHeight : applicationWindow.implicitWidth)
30+ implicitHeight: decorationHeight + applicationWindow.implicitHeight
32 property alias application: applicationWindow.application
32 property alias application: applicationWindow.application
33 property alias surface: applicationWindow.surface
33 property alias surface: applicationWindow.surface
@@ -160,6 +160,7 @@ FocusScope {
161 transform: [
161 transform: [
162 Rotation {
162 Rotation {
163+ id: rotationTransform
163 readonly property int rotationAngle: applicationWindow.application &&
164 readonly property int rotationAngle: applicationWindow.application &&
164 applicationWindow.application.rotatesWindowContents
165 applicationWindow.application.rotatesWindowContents
165 ? ((360 - applicationWindow.surfaceOrientationAngle) % 360) : 0
166 ? ((360 - applicationWindow.surfaceOrientationAngle) % 360) : 0
@@ -184,6 +185,4 @@ FocusScope {
188−// Rectangle { anchors.fill: parent; color: "blue"; opacity: .3 }