1
0
mirror of https://github.com/zhuzichu520/FluentUI.git synced 2025-04-06 15:45:08 +08:00
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
src
Qt5/imports/FluentUI/Controls
Qt6/imports/FluentUI/Controls

@ -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

@ -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