diff options
| author | ATMDA <atdma2600@gmail.com> | 2025-11-17 08:41:42 -0500 |
|---|---|---|
| committer | ATMDA <atdma2600@gmail.com> | 2025-11-17 08:41:42 -0500 |
| commit | f24805190444c1325e25829b7b4921c79742d6a3 (patch) | |
| tree | 316d7bb8ae5d8b405b1b2935acad0952aa9816c0 /modules/controlcenter/taskbar/TaskbarPane.qml | |
| parent | controlcenter: corrected typeerror null checks (diff) | |
| download | caelestia-shell-f24805190444c1325e25829b7b4921c79742d6a3.tar.gz caelestia-shell-f24805190444c1325e25829b7b4921c79742d6a3.tar.bz2 caelestia-shell-f24805190444c1325e25829b7b4921c79742d6a3.zip | |
controlcenter: taskbar clock settings bg correction
Diffstat (limited to 'modules/controlcenter/taskbar/TaskbarPane.qml')
| -rw-r--r-- | modules/controlcenter/taskbar/TaskbarPane.qml | 29 |
1 files changed, 6 insertions, 23 deletions
diff --git a/modules/controlcenter/taskbar/TaskbarPane.qml b/modules/controlcenter/taskbar/TaskbarPane.qml index c731acc..8a58512 100644 --- a/modules/controlcenter/taskbar/TaskbarPane.qml +++ b/modules/controlcenter/taskbar/TaskbarPane.qml @@ -213,30 +213,13 @@ RowLayout { CollapsibleSection { id: clockSection title: qsTr("Clock") - description: qsTr("Clock display settings") - RowLayout { - id: clockRow - - Layout.fillWidth: true - Layout.leftMargin: Appearance.padding.large - Layout.rightMargin: Appearance.padding.large - Layout.alignment: Qt.AlignVCenter - - spacing: Appearance.spacing.normal - - StyledText { - Layout.fillWidth: true - text: qsTr("Show clock icon") - } - - StyledSwitch { - id: clockShowIconSwitch - checked: root.clockShowIcon - onToggled: { - root.clockShowIcon = checked; - root.saveConfig(); - } + SwitchRow { + label: qsTr("Show clock icon") + checked: root.clockShowIcon + onToggled: checked => { + root.clockShowIcon = checked; + root.saveConfig(); } } } |