mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:59:02 +08:00
Fix the tooltips for time estimations
CURA-5772
This commit is contained in:
parent
11a08d0e47
commit
2fce1e433a
@ -60,8 +60,7 @@ Rectangle
|
||||
}
|
||||
}
|
||||
tooltip_html += "</table>";
|
||||
//print("trying to show tooltip", base, Qt.point(-UM.Theme.getSize("sidebar_margin").width, 0), tooltip_html)
|
||||
base.showTooltip(parent, Qt.point(0, 0), tooltip_html);
|
||||
base.showTooltip(parent, Qt.point(-UM.Theme.getSize("sidebar_margin").width, 0), tooltip_html);
|
||||
}
|
||||
}
|
||||
onExited:
|
||||
|
@ -36,7 +36,7 @@ UM.PointingRectangle {
|
||||
}
|
||||
}
|
||||
base.opacity = 1;
|
||||
target = Qt.point(40 , position.y + Math.round(UM.Theme.getSize("tooltip_arrow_margins").height / 2))
|
||||
target = Qt.point(position.x + 1, position.y + Math.round(UM.Theme.getSize("tooltip_arrow_margins").height / 2))
|
||||
}
|
||||
|
||||
function hide() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user