mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 15:37:27 -06:00
Add hover effect to quality/intent selector
CURA-6598
This commit is contained in:
parent
210a2aa6bb
commit
5ab31df738
1 changed files with 3 additions and 1 deletions
|
@ -58,6 +58,7 @@ Item
|
|||
anchors.right: parent.right
|
||||
width: UM.Theme.getSize("print_setup_big_item").width
|
||||
height: textLabel.contentHeight + 2 * UM.Theme.getSize("narrow_margin").height
|
||||
hoverEnabled: true
|
||||
|
||||
contentItem: Label
|
||||
{
|
||||
|
@ -72,7 +73,8 @@ Item
|
|||
|
||||
background: Rectangle
|
||||
{
|
||||
border.color: UM.Theme.getColor("lining")
|
||||
id: backgroundItem
|
||||
border.color: intentSelection.hovered ? UM.Theme.getColor("setting_control_border_highlight") : UM.Theme.getColor("setting_control_border")
|
||||
border.width: UM.Theme.getSize("default_lining").width
|
||||
radius: UM.Theme.getSize("default_radius").width
|
||||
color: UM.Theme.getColor("main_background")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue