controlcenter: taskbar clock settings bg correction
This commit is contained in:
parent
338b636de7
commit
f248051904
1 changed files with 6 additions and 23 deletions
|
|
@ -213,30 +213,13 @@ RowLayout {
|
||||||
CollapsibleSection {
|
CollapsibleSection {
|
||||||
id: clockSection
|
id: clockSection
|
||||||
title: qsTr("Clock")
|
title: qsTr("Clock")
|
||||||
description: qsTr("Clock display settings")
|
|
||||||
|
|
||||||
RowLayout {
|
SwitchRow {
|
||||||
id: clockRow
|
label: qsTr("Show clock icon")
|
||||||
|
checked: root.clockShowIcon
|
||||||
Layout.fillWidth: true
|
onToggled: checked => {
|
||||||
Layout.leftMargin: Appearance.padding.large
|
root.clockShowIcon = checked;
|
||||||
Layout.rightMargin: Appearance.padding.large
|
root.saveConfig();
|
||||||
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();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue