Settings: added missing end divider to tabs
This commit is contained in:
parent
933dfc402b
commit
2b154e2cdb
4 changed files with 29 additions and 11 deletions
|
|
@ -414,4 +414,10 @@ ColumnLayout {
|
||||||
}
|
}
|
||||||
visible: Settings.data.nightLight.enabled
|
visible: Settings.data.nightLight.enabled
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NDivider {
|
||||||
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: Style.marginXL * scaling
|
||||||
|
Layout.bottomMargin: Style.marginXL * scaling
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -180,4 +180,10 @@ ColumnLayout {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NDivider {
|
||||||
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: Style.marginXL * scaling
|
||||||
|
Layout.bottomMargin: Style.marginXL * scaling
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -75,4 +75,10 @@ ColumnLayout {
|
||||||
onToggled: checked => Settings.data.location.useFahrenheit = checked
|
onToggled: checked => Settings.data.location.useFahrenheit = checked
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NDivider {
|
||||||
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: Style.marginXL * scaling
|
||||||
|
Layout.bottomMargin: Style.marginXL * scaling
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -47,13 +47,13 @@ Loader {
|
||||||
function enqueueToast(toastData) {
|
function enqueueToast(toastData) {
|
||||||
if (replaceOnNew && isShowingToast) {
|
if (replaceOnNew && isShowingToast) {
|
||||||
// Cancel current toast and clear queue for latest toast
|
// Cancel current toast and clear queue for latest toast
|
||||||
messageQueue = [] // Clear existing queue
|
messageQueue = [] // Clear existing queue
|
||||||
messageQueue.push(toastData)
|
messageQueue.push(toastData)
|
||||||
|
|
||||||
// Hide current toast immediately
|
// Hide current toast immediately
|
||||||
if (item) {
|
if (item) {
|
||||||
hideTimer.stop()
|
hideTimer.stop()
|
||||||
item.hideToast() // Need to add this method to PanelWindow
|
item.hideToast() // Need to add this method to PanelWindow
|
||||||
}
|
}
|
||||||
|
|
||||||
// Process new toast after a brief delay
|
// Process new toast after a brief delay
|
||||||
|
|
@ -68,7 +68,7 @@ Loader {
|
||||||
|
|
||||||
Timer {
|
Timer {
|
||||||
id: quickSwitchTimer
|
id: quickSwitchTimer
|
||||||
interval: 50 // Brief delay for smooth transition
|
interval: 50 // Brief delay for smooth transition
|
||||||
onTriggered: root.processQueue()
|
onTriggered: root.processQueue()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue