take the panel height into account when semimaximizing windows
commit9844507b7b4a888e180afa9b9f906a4ba4ffb8aa
authorLukáš Tinkl <lukas.tinkl@canonical.com>
dateMon 2 Nov 2015, 11:05 (11 years ago)
parent784dcad
qml/Stages/DesktopStage.qml+2−2
@@ -303,11 +303,11 @@ Rectangle {
303303 },
304304 State {
305305 name: "maximizedLeft"; when: appDelegate.maximizedLeft && !appDelegate.minimized
306− PropertyChanges { target: appDelegate; x: 0; y: units.gu(3); width: root.width/2; height: root.height }
306+ PropertyChanges { target: appDelegate; x: 0; y: units.gu(3); width: root.width/2; height: root.height - units.gu(3) }
307307 },
308308 State {
309309 name: "maximizedRight"; when: appDelegate.maximizedRight && !appDelegate.minimized
310− PropertyChanges { target: appDelegate; x: root.width/2; y: units.gu(3); width: root.width/2; height: root.height }
310+ PropertyChanges { target: appDelegate; x: root.width/2; y: units.gu(3); width: root.width/2; height: root.height - units.gu(3) }
311311 },
312312 State {
313313 name: "minimized"; when: appDelegate.minimized