This commit is contained in:
朱子楚\zhuzi
2023-10-08 19:59:55 +08:00
parent 1d68de9287
commit 17829bac69
4 changed files with 6 additions and 27 deletions

View File

@ -31,7 +31,6 @@ Window {
}
}
signal initArgument(var argument)
property bool showSystemAppBar: true
id:window
color:"transparent"
Component.onCompleted: {
@ -168,7 +167,7 @@ Window {
FramelessHelper{
id:framless_helper
onReady: {
if(appBar && !showSystemAppBar){
if(appBar){
var title_bar = loader_title_bar.item
setTitleBarItem(title_bar)
moveWindowToDesktopCenter()

View File

@ -30,7 +30,6 @@ Window {
}
}
signal initArgument(var argument)
property bool showSystemAppBar: true
id:window
color:"transparent"
Component.onCompleted: {
@ -167,7 +166,7 @@ Window {
FramelessHelper{
id:framless_helper
onReady: {
if(appBar && !showSystemAppBar){
if(appBar){
var title_bar = loader_title_bar.item
setTitleBarItem(title_bar)
moveWindowToDesktopCenter()