on xenial help sign in
take the panel height into account when semimaximizing windows
9844507Lukáš Tinkl
qml/Stages/DesktopStage.qml+2−2
@@ -303,11 +303,11 @@ Rectangle {
303 },
303 },
304 State {
304 State {
305 name: "maximizedLeft"; when: appDelegate.maximizedLeft && !appDelegate.minimized
305 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) }
307 },
307 },
308 State {
308 State {
309 name: "maximizedRight"; when: appDelegate.maximizedRight && !appDelegate.minimized
309 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) }
311 },
311 },
312 State {
312 State {
313 name: "minimized"; when: appDelegate.minimized
313 name: "minimized"; when: appDelegate.minimized