mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:39:03 +08: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
@ -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…
x
Reference in New Issue
Block a user