mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-07 03:18:58 +08:00
Add styling for disabled controls
Contributes to CURA-573
This commit is contained in:
parent
d668438d1f
commit
eb8a1bea8d
@ -295,6 +295,9 @@ QtObject {
|
|||||||
controlBorderHighlightColor: Theme.getColor("setting_control_border_highlight");
|
controlBorderHighlightColor: Theme.getColor("setting_control_border_highlight");
|
||||||
controlTextColor: Theme.getColor("setting_control_text");
|
controlTextColor: Theme.getColor("setting_control_text");
|
||||||
controlBorderWidth: Theme.getSize("default_lining").width;
|
controlBorderWidth: Theme.getSize("default_lining").width;
|
||||||
|
controlDisabledColor: Theme.getColor("setting_control_disabled");
|
||||||
|
controlDisabledTextColor: Theme.getColor("setting_control_disabled_text");
|
||||||
|
controlDisabledBorderColor: Theme.getColor("setting_control_disabled_border");
|
||||||
controlFont: Theme.getFont("default");
|
controlFont: Theme.getFont("default");
|
||||||
|
|
||||||
validationErrorColor: Theme.getColor("setting_validation_error");
|
validationErrorColor: Theme.getColor("setting_validation_error");
|
||||||
|
@ -138,6 +138,9 @@
|
|||||||
"setting_control_depth_line": [127, 127, 127, 255],
|
"setting_control_depth_line": [127, 127, 127, 255],
|
||||||
"setting_control_button": [127, 127, 127, 255],
|
"setting_control_button": [127, 127, 127, 255],
|
||||||
"setting_control_button_hover": [70, 84, 113, 255],
|
"setting_control_button_hover": [70, 84, 113, 255],
|
||||||
|
"setting_control_disabled": [245, 245, 245, 255],
|
||||||
|
"setting_control_disabled_text": [127, 127, 127, 255],
|
||||||
|
"setting_control_disabled_border": [127, 127, 127, 255],
|
||||||
"setting_unit": [127, 127, 127, 255],
|
"setting_unit": [127, 127, 127, 255],
|
||||||
"setting_validation_error": [255, 57, 14, 255],
|
"setting_validation_error": [255, 57, 14, 255],
|
||||||
"setting_validation_warning": [255, 186, 15, 255],
|
"setting_validation_warning": [255, 186, 15, 255],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user