mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06:00
Switch checked and hovered themes
I misunderstood the theme as it was in the screenshots. Contributes to issue CURA-5876.
This commit is contained in:
parent
81cadf702c
commit
c6a9aca346
1 changed files with 3 additions and 3 deletions
|
@ -22,9 +22,9 @@ Button
|
|||
contentItem: Rectangle
|
||||
{
|
||||
height: childrenRect.height
|
||||
color: parent.checked ? UM.Theme.getColor("action_button_hovered") : UM.Theme.getColor("action_button")
|
||||
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
|
||||
color: parent.hovered ? UM.Theme.getColor("action_button_hovered") : UM.Theme.getColor("action_button")
|
||||
border.color: parent.checked ? UM.Theme.getColor("primary") : UM.Theme.getColor("lining")
|
||||
border.width: parent.checked ? UM.Theme.getSize("thick_lining").width : UM.Theme.getSize("default_lining").width
|
||||
radius: UM.Theme.getSize("default_radius").width
|
||||
|
||||
Column
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue