Update style of border of configuration items

Contributes to issue CURA-5876.
This commit is contained in:
Ghostkeeper 2018-11-27 12:55:07 +01:00
parent e58409b1ef
commit 0be2453daf
No known key found for this signature in database
GPG Key ID: 86BEF881AE2CF276

View File

@ -23,8 +23,8 @@ Button
{
height: childrenRect.height
color: parent.checked ? UM.Theme.getColor("action_button_hovered") : UM.Theme.getColor("action_button")
border.color: (parent.checked || parent.hovered) ? UM.Theme.getColor("primary") : UM.Theme.getColor("lining")
border.width: UM.Theme.getSize("default_lining").width
border.color: parent.hovered ? UM.Theme.getColor("primary") : UM.Theme.getColor("lining")
border.width: parent.hovered ? UM.Theme.getSize("thick_lining").width : UM.Theme.getSize("default_lining").width
Column
{