From 58496f20cdf7cf3fb1a04888548cee2114e8799e Mon Sep 17 00:00:00 2001 From: Dmitry Batrak Date: Tue, 9 Jun 2015 15:37:53 +0300 Subject: [PATCH] fix horizontal popup layout, restore gap between content and top popup's border --- .../com/intellij/codeInsight/hint/EditorFragmentComponent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/codeInsight/hint/EditorFragmentComponent.java b/platform/platform-impl/src/com/intellij/codeInsight/hint/EditorFragmentComponent.java index 36011c26332c..2d6b32ae5a01 100644 --- a/platform/platform-impl/src/com/intellij/codeInsight/hint/EditorFragmentComponent.java +++ b/platform/platform-impl/src/com/intellij/codeInsight/hint/EditorFragmentComponent.java @@ -147,7 +147,7 @@ public class EditorFragmentComponent extends JPanel { final Color borderColor = editor.getColorsScheme().getColor(EditorColors.SELECTED_TEARLINE_COLOR); Border outsideBorder = JBUI.Borders.customLine(borderColor, LINE_BORDER_THICKNESS); - Border insideBorder = JBUI.Borders.emptyBottom(EMPTY_BORDER_THICKNESS); + Border insideBorder = JBUI.Borders.empty(EMPTY_BORDER_THICKNESS, EMPTY_BORDER_THICKNESS); setBorder(BorderFactory.createCompoundBorder(outsideBorder, insideBorder)); }