Show a border around text fields and drop-downs when hovering

And when they are focused.
This applies to the setting text fields, extruder selectors and drop-downs as well as to the machine settings.

Contributes to issue CURA-9217.
This commit is contained in:
Ghostkeeper 2022-05-09 17:42:17 +02:00
parent efdb21b7a1
commit 7fda81b678
No known key found for this signature in database
GPG key ID: 68F39EA88EEED5FF
9 changed files with 26 additions and 11 deletions

View file

@ -129,7 +129,8 @@ Item
background: UM.UnderlineBackground
{
id: backgroundItem
liningColor: intentSelection.hovered ? UM.Theme.getColor("border_main") : UM.Theme.getColor("border_field_light")
borderColor: intentSelection.hovered ? UM.Theme.getColor("text_field_border_hovered") : "transparent"
liningColor: intentSelection.hovered ? UM.Theme.getColor("text_field_border_hovered") : UM.Theme.getColor("border_field_light")
}
UM.SimpleButton