mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Use styled tooltip
CURA-8422
This commit is contained in:
parent
9b3103e624
commit
e39675e447
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue