Use styled tooltip

CURA-8422
This commit is contained in:
Jaime van Kessel 2021-09-22 13:44:45 +02:00
parent 9b3103e624
commit e39675e447

View file

@ -18,7 +18,7 @@ Button
property color backgroundColor: hovered ? UM.Theme.getColor("primary") : "transparent"
Behavior on backgroundColor { ColorAnimation { duration: 200; } }
hoverEnabled: true
width: UM.Theme.getSize("application_switcher_item").width
height: UM.Theme.getSize("application_switcher_item").height
@ -29,10 +29,11 @@ Button
border.width: UM.Theme.getSize("default_lining").width
}
UM.TooltipArea
Cura.ToolTip
{
id: tooltip
anchors.fill: parent
tooltipText: base.text
visible: base.hovered
}
Column