mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-01 14:51:07 -07:00
Make all text fields use updated background and lining style.
CURA-8688
This commit is contained in:
parent
8dde0f4fd2
commit
195278aa55
2 changed files with 8 additions and 11 deletions
|
|
@ -26,15 +26,13 @@ SettingItem
|
|||
}
|
||||
}
|
||||
|
||||
contents: Rectangle
|
||||
contents: UM.UnderlineBackground
|
||||
{
|
||||
id: control
|
||||
|
||||
anchors.fill: parent
|
||||
|
||||
radius: UM.Theme.getSize("setting_control_radius").width
|
||||
border.width: UM.Theme.getSize("default_lining").width
|
||||
border.color:
|
||||
liningColor:
|
||||
{
|
||||
if(!enabled)
|
||||
{
|
||||
|
|
@ -54,9 +52,9 @@ SettingItem
|
|||
//Validation is OK.
|
||||
if(hovered || input.activeFocus)
|
||||
{
|
||||
return UM.Theme.getColor("setting_control_border_highlight")
|
||||
return UM.Theme.getColor("border_main_light")
|
||||
}
|
||||
return UM.Theme.getColor("setting_control_border")
|
||||
return UM.Theme.getColor("border_field_light")
|
||||
}
|
||||
|
||||
color: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue