This commit is contained in:
zhuzichu 2024-01-02 18:31:44 +08:00
parent 0e0a385f2d
commit 924ce5d127
2 changed files with 4 additions and 4 deletions

View File

@ -69,10 +69,10 @@ Window {
Component.onCompleted: { Component.onCompleted: {
_realHeight = height _realHeight = height
_realWidth = width _realWidth = width
lifecycle.onCompleted(window)
initArgument(argument)
moveWindowToDesktopCenter() moveWindowToDesktopCenter()
fixWindowSize() fixWindowSize()
lifecycle.onCompleted(window)
initArgument(argument)
useSystemAppBar = FluApp.useSystemAppBar useSystemAppBar = FluApp.useSystemAppBar
if(!useSystemAppBar){ if(!useSystemAppBar){
loader_frameless_helper.sourceComponent = com_frameless_helper loader_frameless_helper.sourceComponent = com_frameless_helper

View File

@ -68,10 +68,10 @@ Window {
Component.onCompleted: { Component.onCompleted: {
_realHeight = height _realHeight = height
_realWidth = width _realWidth = width
lifecycle.onCompleted(window)
initArgument(argument)
moveWindowToDesktopCenter() moveWindowToDesktopCenter()
fixWindowSize() fixWindowSize()
lifecycle.onCompleted(window)
initArgument(argument)
useSystemAppBar = FluApp.useSystemAppBar useSystemAppBar = FluApp.useSystemAppBar
if(!useSystemAppBar){ if(!useSystemAppBar){
loader_frameless_helper.sourceComponent = com_frameless_helper loader_frameless_helper.sourceComponent = com_frameless_helper