@@ -369,8 +369,10 @@ AbstractStage {
369369 name: "fullscreen"; when: decoratedWindow.fullscreen
370370 PropertyChanges {
371371 target: appDelegate;
372− x: 0; y: -PanelState.panelHeight
373− requestedWidth: appContainer.width; requestedHeight: appContainer.height;
372+ x: 0;
373+ y: -PanelState.panelHeight
374+ requestedWidth: appContainer.width;
375+ requestedHeight: appContainer.height;
374376 }
375377 },
376378 State {
@@ -387,14 +389,15 @@ AbstractStage {
387389 name: "maximized"; when: appDelegate.maximized && !appDelegate.minimized
388390 PropertyChanges {
389391 target: appDelegate;
390− x: root.leftMargin; y: 0;
392+ x: root.leftMargin;
393+ y: 0;
391394 visuallyMinimized: false;
392395 visuallyMaximized: true
393396 }
394397 PropertyChanges {
395398 target: decoratedWindow
396− requestedWidth: root.width;
397− requestedHeight: root.height;
399+ requestedWidth: appContainer.width - root.leftMargin;
400+ requestedHeight: appContainer.height;
398401 }
399402 },
400403 State {