diff options
author | j.delarago <joeydelarago@gmail.com> | 2022-02-07 14:10:47 +0300 |
---|---|---|
committer | j.delarago <joeydelarago@gmail.com> | 2022-02-07 14:10:47 +0300 |
commit | 6888fafa9674d3f537a429dd6d3fb088dbbeb685 (patch) | |
tree | bfb929b6e8ec745339bb14f477f8ecff714b98ea | |
parent | 85973f4a1a52ac8a1d7df0e9837edf77a2f043b2 (diff) |
Set correct styling for SettingCheckBox used in per model settings panel
-rw-r--r-- | resources/qml/Settings/SettingCheckBox.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/qml/Settings/SettingCheckBox.qml b/resources/qml/Settings/SettingCheckBox.qml index 1204c6dfe5..1b4e4ac143 100644 --- a/resources/qml/Settings/SettingCheckBox.qml +++ b/resources/qml/Settings/SettingCheckBox.qml @@ -91,14 +91,14 @@ SettingItem width: UM.Theme.getSize("checkbox").width height: width - radius: UM.Theme.getSize("setting_control_radius").width + radius: UM.Theme.getSize("checkbox_radius").width border.width: UM.Theme.getSize("default_lining").width border.color: { if(!enabled) { - return UM.Theme.getColor("setting_control_disabled_border") + return UM.Theme.getColor("checkbox_border") } switch (propertyProvider.properties.validationState) { @@ -114,7 +114,7 @@ SettingItem // Validation is OK. if (control.containsMouse || control.activeFocus || hovered) { - return UM.Theme.getColor("setting_control_border_highlight") + return UM.Theme.getColor("checkbox_border_hover") } return UM.Theme.getColor("setting_control_border") } @@ -122,7 +122,7 @@ SettingItem color: { if (!enabled) { - return UM.Theme.getColor("setting_control_disabled") + return UM.Theme.getColor("checkbox_disabled") } switch (propertyProvider.properties.validationState) { @@ -140,7 +140,7 @@ SettingItem { return UM.Theme.getColor("setting_control_highlight") } - return UM.Theme.getColor("setting_control") + return UM.Theme.getColor("checkbox") } UM.RecolorImage |