Commit af39f0ae authored by Nate Graham's avatar Nate Graham 💤
Browse files

[KCMs/Night Color] Explain Night Color feature inline

All the other platforms that have implemented this feature offer a little inline
explanation of what it is and what it does, but we do not. I think it makes sense to add
our own, since it's not a totally intuitive thing.

Test Plan: {F7659929}

Reviewers: #vdg, #plasma, ndavis, zzag

Reviewed By: #vdg, #plasma, ndavis, zzag

Subscribers: ahiemstra, davidedmundson, ndavis, plasma-devel

Tags: #plasma

Differential Revision:
parent 373ce150
......@@ -99,6 +99,18 @@ KCM.SimpleKCM {
ColumnLayout {
spacing: 0
QQC2.Label {
Layout.topMargin: Kirigami.Units.largeSpacing * 2
Layout.bottomMargin: Kirigami.Units.largeSpacing * 4
Layout.leftMargin: Kirigami.Units.smallSpacing
Layout.rightMargin: Kirigami.Units.smallSpacing
Layout.alignment: Qt.AlignHCenter
Layout.maximumWidth: Math.round(root.width * 0.5)
text: i18n("Night Color makes the colors on the screen warmer to reduce eye strain.")
wrapMode: Text.WordWrap
Kirigami.FormLayout {
id: parentLayout
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment