From dbf6d1c410dcafe6dbd3511a23ce01363bd20f9f Mon Sep 17 00:00:00 2001 From: "Vassiliy.Kudryashov" Date: Mon, 24 Apr 2017 23:03:34 +0300 Subject: [PATCH] IDEA-171325 VCS GIT Branches popup collapses --- .../src/com/intellij/ui/popup/list/ListPopupImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/ui/popup/list/ListPopupImpl.java b/platform/platform-impl/src/com/intellij/ui/popup/list/ListPopupImpl.java index 1bfe648636f0..28a6f4ca13f5 100644 --- a/platform/platform-impl/src/com/intellij/ui/popup/list/ListPopupImpl.java +++ b/platform/platform-impl/src/com/intellij/ui/popup/list/ListPopupImpl.java @@ -441,7 +441,7 @@ public class ListPopupImpl extends WizardPopup implements ListPopup { y += swt.getPreferredSize().height - 1; } - myChild.show(container, point.x + container.getWidth() - STEP_X_PADDING, y, true); + myChild.show(container, container.getLocationOnScreen().x + container.getWidth() - STEP_X_PADDING, y, true); setIndexForShowingChild(myList.getSelectedIndex()); return false; }