Better explanations in Settings/Display
This commit is contained in:
parent
2abe7c9bd1
commit
f21364781a
1 changed files with 14 additions and 14 deletions
|
|
@ -48,7 +48,7 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
NText {
|
NText {
|
||||||
text: "By default, all bars are displayed. Select one or more below to narrow your view."
|
text: "By default, bars and notifications are shown on all displays. Select one or more below to narrow your view."
|
||||||
font.pointSize: Style.fontSize * scaling
|
font.pointSize: Style.fontSize * scaling
|
||||||
color: Colors.mOnSurfaceVariant
|
color: Colors.mOnSurfaceVariant
|
||||||
}
|
}
|
||||||
|
|
@ -98,19 +98,6 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
NToggle {
|
|
||||||
label: "Dock"
|
|
||||||
description: "Enable the dock on this monitor"
|
|
||||||
value: (Settings.data.dock.monitors || []).indexOf(modelData.name) !== -1
|
|
||||||
onToggled: function (newValue) {
|
|
||||||
if (newValue) {
|
|
||||||
Settings.data.dock.monitors = addMonitor(Settings.data.dock.monitors, modelData.name)
|
|
||||||
} else {
|
|
||||||
Settings.data.dock.monitors = removeMonitor(Settings.data.dock.monitors, modelData.name)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
NToggle {
|
NToggle {
|
||||||
label: "Notifications"
|
label: "Notifications"
|
||||||
description: "Enable notifications on this monitor"
|
description: "Enable notifications on this monitor"
|
||||||
|
|
@ -125,6 +112,19 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NToggle {
|
||||||
|
label: "Dock"
|
||||||
|
description: "Enable the dock on this monitor"
|
||||||
|
value: (Settings.data.dock.monitors || []).indexOf(modelData.name) !== -1
|
||||||
|
onToggled: function (newValue) {
|
||||||
|
if (newValue) {
|
||||||
|
Settings.data.dock.monitors = addMonitor(Settings.data.dock.monitors, modelData.name)
|
||||||
|
} else {
|
||||||
|
Settings.data.dock.monitors = removeMonitor(Settings.data.dock.monitors, modelData.name)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue