mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
Add tooltip to object list
Contributes to issue CURA-6666.
This commit is contained in:
parent
f2fa8fd1f5
commit
cd4f6ff3f4
1 changed files with 17 additions and 0 deletions
|
@ -51,5 +51,22 @@ Button
|
|||
border.color: objectItemButton.checked ? UM.Theme.getColor("primary") : "transparent"
|
||||
}
|
||||
|
||||
ToolTip
|
||||
{
|
||||
visible: hovered
|
||||
delay: 1000
|
||||
|
||||
contentItem: Text
|
||||
{
|
||||
text: objectItemButton.text
|
||||
font: UM.Theme.getFont("default")
|
||||
color: UM.Theme.getColor("tooltip_text")
|
||||
}
|
||||
background: Rectangle
|
||||
{
|
||||
color: UM.Theme.getColor("tooltip")
|
||||
}
|
||||
}
|
||||
|
||||
onClicked: Cura.SceneController.changeSelection(index)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue