don't set width/height directly
commit548393126db8a60d3746b494f6401fb30e598980
authorLukáš Tinkl <lukas.tinkl@canonical.com>
dateMon 23 Nov 2015, 15:19 (11 years ago)
parent0b1b1c1
qml/Stages/DecoratedWindow.qml−2
@@ -90,8 +90,6 @@ FocusScope {
9090 anchors.top: parent.top
9191 anchors.topMargin: decoration.height
9292 anchors.left: parent.left
93− width: root.width
94− height: fullscreen ? root.height : root.height - decoration.height
9593 requestedHeight: root.requestedHeight - (decoration.visible ? decoration.height : 0)
9694 interactive: true
9795 focus: true