This commit is contained in:
zhuzihcu
2023-06-09 09:29:28 +08:00
parent 49029164ff
commit cf730bc769
2 changed files with 37 additions and 23 deletions

View File

@ -39,15 +39,15 @@ FluWindow {
id:framless_helper
onReady: {
setTitleBarItem(title_bar)
framless_helper.moveWindowToDesktopCenter()
moveWindowToDesktopCenter()
setHitTestVisible(title_bar.minimizeButton())
setHitTestVisible(title_bar.maximizeButton())
setHitTestVisible(title_bar.closeButton())
framless_helper.setWindowFixedSize(fixSize)
setWindowFixedSize(fixSize)
title_bar.maximizeButton.visible = !fixSize
if (blurBehindWindowEnabled)
window.backgroundVisible = false
window.visible = true
window.show()
}
}
Connections{