From aee9e0a22cd5fed0c8dc95ce21c3fbddc846fc3f Mon Sep 17 00:00:00 2001 From: "Egor.Ushakov" Date: Tue, 15 Aug 2017 16:03:24 +0300 Subject: [PATCH] show value popup below the line, not over it --- .../impl/evaluate/quick/common/AbstractValueHint.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/evaluate/quick/common/AbstractValueHint.java b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/evaluate/quick/common/AbstractValueHint.java index c3c479605e15..7b3a793a0f99 100644 --- a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/evaluate/quick/common/AbstractValueHint.java +++ b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/evaluate/quick/common/AbstractValueHint.java @@ -327,7 +327,8 @@ public abstract class AbstractValueHint { } protected void showTreePopup(@NotNull DebuggerTreeCreator creator, @NotNull D descriptor) { - DebuggerTreeWithHistoryPopup.showTreePopup(creator, descriptor, getEditor(), myPoint, getProject(), myHideRunnable); + Point point = new Point(myPoint.x, myPoint.y + myEditor.getLineHeight()); + DebuggerTreeWithHistoryPopup.showTreePopup(creator, descriptor, myEditor, point, getProject(), myHideRunnable); } @Override