mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 05:49:03 +08:00
Update SettingTextField to match TextField
CURA-8991
This commit is contained in:
parent
7dabcfafb0
commit
1eb16c0ec5
@ -36,7 +36,7 @@ SettingItem
|
||||
{
|
||||
if(!enabled)
|
||||
{
|
||||
return UM.Theme.getColor("setting_control_disabled_border")
|
||||
return UM.Theme.getColor("text_field_border_disabled")
|
||||
}
|
||||
switch(propertyProvider.properties.validationState)
|
||||
{
|
||||
@ -52,15 +52,15 @@ SettingItem
|
||||
//Validation is OK.
|
||||
if(hovered || input.activeFocus)
|
||||
{
|
||||
return UM.Theme.getColor("border_main")
|
||||
return UM.Theme.getColor("text_field_border_hovered")
|
||||
}
|
||||
return UM.Theme.getColor("border_field_light")
|
||||
return UM.Theme.getColor("text_field_border")
|
||||
}
|
||||
|
||||
color: {
|
||||
if(!enabled)
|
||||
{
|
||||
return UM.Theme.getColor("setting_control_disabled")
|
||||
return UM.Theme.getColor("text_field")
|
||||
}
|
||||
switch(propertyProvider.properties.validationState)
|
||||
{
|
||||
@ -76,7 +76,7 @@ SettingItem
|
||||
return UM.Theme.getColor("setting_validation_ok")
|
||||
|
||||
default:
|
||||
return UM.Theme.getColor("setting_control")
|
||||
return UM.Theme.getColor("text_field")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -355,8 +355,6 @@
|
||||
"text_field_text": "text_default",
|
||||
"text_field_text_disabled": "text_disabled",
|
||||
|
||||
|
||||
|
||||
"category_background": "background_2",
|
||||
|
||||
"tooltip": [25, 25, 25, 255],
|
||||
|
Loading…
x
Reference in New Issue
Block a user