on xenial help sign in
fix resizing hor/vert maximized windows
commite8a84ab45be84898161633072973617f6f4e99f6 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateWed 14 Sep 2016, 14:15 (10 years ago) parent2d831cf
1 file changed+2−2
qml/Stage/Stage.qml+2−2
qml/Stage/Stage.qml+2−2
@@ -1217,13 +1217,13 @@ AbstractStage {
12171217 State {
12181218 name: "maximizedHorizontally"; when: appDelegate.maximizedHorizontally && !appDelegate.minimized
12191219 extend: "semiMaximized"
1220− PropertyChanges { target: appDelegate; requestedX: root.leftMargin; requestedY: requestedY;
1220+ PropertyChanges { target: appDelegate; requestedX: root.leftMargin; requestedY: windowedY;
12211221 requestedWidth: appContainer.width - root.leftMargin; requestedHeight: appDelegate.windowedHeight }
12221222 },
12231223 State {
12241224 name: "maximizedVertically"; when: appDelegate.maximizedVertically && !appDelegate.minimized
12251225 extend: "semiMaximized"
1226− PropertyChanges { target: appDelegate; requestedX: requestedX; requestedY: PanelState.panelHeight;
1226+ PropertyChanges { target: appDelegate; requestedX: windowedX; requestedY: PanelState.panelHeight;
12271227 requestedWidth: appDelegate.windowedWidth; requestedHeight: appContainer.height - PanelState.panelHeight }
12281228 },
12291229 State {