diff --git a/src/Qt5/imports/FluentUI/Controls/FluWindow.qml b/src/Qt5/imports/FluentUI/Controls/FluWindow.qml index 9835af54..31f4b7b8 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluWindow.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluWindow.qml @@ -69,10 +69,10 @@ Window { Component.onCompleted: { _realHeight = height _realWidth = width - lifecycle.onCompleted(window) - initArgument(argument) moveWindowToDesktopCenter() fixWindowSize() + lifecycle.onCompleted(window) + initArgument(argument) useSystemAppBar = FluApp.useSystemAppBar if(!useSystemAppBar){ loader_frameless_helper.sourceComponent = com_frameless_helper diff --git a/src/Qt6/imports/FluentUI/Controls/FluWindow.qml b/src/Qt6/imports/FluentUI/Controls/FluWindow.qml index 9b9bfe88..65ed022f 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluWindow.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluWindow.qml @@ -68,10 +68,10 @@ Window { Component.onCompleted: { _realHeight = height _realWidth = width - lifecycle.onCompleted(window) - initArgument(argument) moveWindowToDesktopCenter() fixWindowSize() + lifecycle.onCompleted(window) + initArgument(argument) useSystemAppBar = FluApp.useSystemAppBar if(!useSystemAppBar){ loader_frameless_helper.sourceComponent = com_frameless_helper