This commit is contained in:
zhuzichu
2023-11-27 16:45:37 +08:00
parent 55a77eba4b
commit 8662eb97aa
6 changed files with 73 additions and 12 deletions

View File

@ -88,6 +88,20 @@ FluScrollablePage{
}
}
FluArea{
Layout.fillWidth: true
Layout.topMargin: 20
height: 50
paddings: 10
FluCheckBox{
text:"fitsAppBarWindows"
checked: window.fitsAppBarWindows
anchors.verticalCenter: parent.verticalCenter
onClicked: {
window.fitsAppBarWindows = !window.fitsAppBarWindows
}
}
}
FluArea{
Layout.fillWidth: true
@ -215,5 +229,4 @@ FluScrollablePage{
}
}
}
}

View File

@ -41,8 +41,11 @@ FluWindow {
}
}
Component.onCompleted: {
onFirstVisible: {
tour.open()
}
Component.onCompleted: {
checkUpdate(true)
FluEventBus.registerEvent(event_checkupdate)
}
@ -239,7 +242,7 @@ FluWindow {
}
function handleDarkChanged(button){
if(!FluTheme.enableAnimation){
if(!FluTheme.enableAnimation || window.fitsAppBarWindows === false){
changeDark()
}else{
loader_reveal.sourceComponent = com_reveal

View File

@ -91,6 +91,21 @@ FluScrollablePage{
}
}
FluArea{
Layout.fillWidth: true
Layout.topMargin: 20
height: 50
paddings: 10
FluCheckBox{
text:"fitsAppBarWindows"
checked: window.fitsAppBarWindows
anchors.verticalCenter: parent.verticalCenter
onClicked: {
window.fitsAppBarWindows = !window.fitsAppBarWindows
}
}
}
FluArea{
Layout.fillWidth: true
Layout.topMargin: 20
@ -217,5 +232,4 @@ FluScrollablePage{
}
}
}
}

View File

@ -44,8 +44,11 @@ FluWindow {
}
}
Component.onCompleted: {
onFirstVisible: {
tour.open()
}
Component.onCompleted: {
checkUpdate(true)
FluEventBus.registerEvent(event_checkupdate)
}
@ -242,7 +245,7 @@ FluWindow {
}
function handleDarkChanged(button){
if(!FluTheme.enableAnimation){
if(!FluTheme.enableAnimation || window.fitsAppBarWindows === false){
changeDark()
}else{
loader_reveal.sourceComponent = com_reveal