mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 00:05:57 +08:00
Fix tooltips on actionbuttons
This commit is contained in:
parent
9afbc64934
commit
afa380555f
@ -34,6 +34,9 @@ ToolTip
|
|||||||
NumberAnimation { duration: 100; }
|
NumberAnimation { duration: 100; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onAboutToShow: show()
|
||||||
|
onAboutToHide: hide()
|
||||||
|
|
||||||
// If the text is not set, just set the height to 0 to prevent it from showing
|
// If the text is not set, just set the height to 0 to prevent it from showing
|
||||||
height: text != "" ? label.contentHeight + 2 * UM.Theme.getSize("thin_margin").width: 0
|
height: text != "" ? label.contentHeight + 2 * UM.Theme.getSize("thin_margin").width: 0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user