Settings: added missing end divider to tabs

This commit is contained in:
LemmyCook 2025-09-14 13:58:00 -04:00
parent 933dfc402b
commit 2b154e2cdb
4 changed files with 29 additions and 11 deletions

View file

@ -414,4 +414,10 @@ ColumnLayout {
}
visible: Settings.data.nightLight.enabled
}
NDivider {
Layout.fillWidth: true
Layout.topMargin: Style.marginXL * scaling
Layout.bottomMargin: Style.marginXL * scaling
}
}

View file

@ -180,4 +180,10 @@ ColumnLayout {
}
}
}
NDivider {
Layout.fillWidth: true
Layout.topMargin: Style.marginXL * scaling
Layout.bottomMargin: Style.marginXL * scaling
}
}

View file

@ -75,4 +75,10 @@ ColumnLayout {
onToggled: checked => Settings.data.location.useFahrenheit = checked
}
}
NDivider {
Layout.fillWidth: true
Layout.topMargin: Style.marginXL * scaling
Layout.bottomMargin: Style.marginXL * scaling
}
}

View file

@ -47,13 +47,13 @@ Loader {
function enqueueToast(toastData) {
if (replaceOnNew && isShowingToast) {
// Cancel current toast and clear queue for latest toast
messageQueue = [] // Clear existing queue
messageQueue = [] // Clear existing queue
messageQueue.push(toastData)
// Hide current toast immediately
if (item) {
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
@ -68,7 +68,7 @@ Loader {
Timer {
id: quickSwitchTimer
interval: 50 // Brief delay for smooth transition
interval: 50 // Brief delay for smooth transition
onTriggered: root.processQueue()
}