mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Change NColorChoice default label and description
This commit is contained in:
@@ -54,13 +54,11 @@ ColumnLayout {
|
||||
|
||||
NColorChoice {
|
||||
label: I18n.tr("common.select-icon-color")
|
||||
description: I18n.tr("common.select-color-description")
|
||||
currentKey: valueIconColor
|
||||
onSelected: key => {
|
||||
valueIconColor = key;
|
||||
saveSettings();
|
||||
}
|
||||
minimumWidth: 200
|
||||
}
|
||||
|
||||
NComboBox {
|
||||
|
||||
@@ -6,13 +6,12 @@ RowLayout {
|
||||
id: root
|
||||
|
||||
property real minimumWidth: 200
|
||||
property string label: ""
|
||||
property string description: ""
|
||||
property string label: I18n.tr("common.select-color")
|
||||
property string description: I18n.tr("common.select-color-description")
|
||||
property string tooltip: ""
|
||||
property string currentKey: ""
|
||||
property var defaultValue: "none"
|
||||
property int circleSize: Style.baseWidgetSize * 0.9
|
||||
|
||||
readonly property bool isValueChanged: currentKey !== defaultValue
|
||||
readonly property string indicatorTooltip: {
|
||||
I18n.tr("panels.indicator.default-value", {
|
||||
|
||||
Reference in New Issue
Block a user