mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07:00
Merge branch 'master' into CURA-6435_new_style_add_machine
This commit is contained in:
commit
0e49d3dc12
25 changed files with 222 additions and 157 deletions
|
|
@ -48,12 +48,22 @@ TextField
|
|||
background: Rectangle
|
||||
{
|
||||
id: backgroundRectangle
|
||||
|
||||
anchors.fill: parent
|
||||
anchors.margins: Math.round(UM.Theme.getSize("default_lining").width)
|
||||
radius: UM.Theme.getSize("setting_control_radius").width
|
||||
|
||||
border.color: UM.Theme.getColor("setting_control_border")
|
||||
|
||||
color: UM.Theme.getColor("setting_control")
|
||||
border.color:
|
||||
{
|
||||
if (!textField.enabled)
|
||||
{
|
||||
return UM.Theme.getColor("setting_control_disabled_border")
|
||||
}
|
||||
if (textField.hovered || textField.activeFocus)
|
||||
{
|
||||
return UM.Theme.getColor("setting_control_border_highlight")
|
||||
}
|
||||
return UM.Theme.getColor("setting_control_border")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue