Fix the tooltips for time estimations

CURA-5772
This commit is contained in:
Jaime van Kessel 2018-10-15 09:49:08 +02:00
parent 11a08d0e47
commit 2fce1e433a
2 changed files with 2 additions and 3 deletions

View File

@ -60,8 +60,7 @@ Rectangle
} }
} }
tooltip_html += "</table>"; 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(-UM.Theme.getSize("sidebar_margin").width, 0), tooltip_html);
base.showTooltip(parent, Qt.point(0, 0), tooltip_html);
} }
} }
onExited: onExited:

View File

@ -36,7 +36,7 @@ UM.PointingRectangle {
} }
} }
base.opacity = 1; 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() { function hide() {