on xenial help sign in
don't set width/height directly
5483931Lukáš Tinkl
qml/Stages/DecoratedWindow.qml−2
@@ -90,8 +90,6 @@ FocusScope {
90 anchors.top: parent.top
90 anchors.top: parent.top
91 anchors.topMargin: decoration.height
91 anchors.topMargin: decoration.height
92 anchors.left: parent.left
92 anchors.left: parent.left
93− width: root.width
94− height: fullscreen ? root.height : root.height - decoration.height
95 requestedHeight: root.requestedHeight - (decoration.visible ? decoration.height : 0)
93 requestedHeight: root.requestedHeight - (decoration.visible ? decoration.height : 0)
96 interactive: true
94 interactive: true
97 focus: true
95 focus: true