Skip to content

Commit b21d2ff

Browse files
committed
Hack for tooltips
1 parent 9e10bf4 commit b21d2ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org.eclipse.draw2d/src/org/eclipse/draw2d/ToolTipHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public void displayToolTipNear(IFigure hoverSource, IFigure tip, int eventX, int
121121
Point displayPoint = computeWindowLocation(tip, eventX, eventY);
122122
Dimension shellSize = getLightweightSystem().getRootFigure().getPreferredSize()
123123
.getExpanded(getShellTrimSize());
124-
setShellBounds(displayPoint.x, displayPoint.y, shellSize.width, shellSize.height);
124+
setShellBounds(displayPoint.x, displayPoint.y, shellSize.width + 1, shellSize.height);
125125
show();
126126
// Moving an invisible shell might not be supported by the operating system. Try
127127
// again once it has become visible...

0 commit comments

Comments
 (0)