From 7509993c64cc7ef1ad6336ad1eb3703ef10aed25 Mon Sep 17 00:00:00 2001 From: "Vassiliy.Kudryashov" Date: Tue, 11 Apr 2017 23:25:33 +0300 Subject: [PATCH] IDEA-171135 Find in path: no horizontal scrollbar in the preview pane Signed-off-by: Vassiliy.Kudryashov --- .../lang-impl/src/com/intellij/find/impl/FindPopupPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/find/impl/FindPopupPanel.java b/platform/lang-impl/src/com/intellij/find/impl/FindPopupPanel.java index 8250497e12d8..288c6bee6b8b 100644 --- a/platform/lang-impl/src/com/intellij/find/impl/FindPopupPanel.java +++ b/platform/lang-impl/src/com/intellij/find/impl/FindPopupPanel.java @@ -527,7 +527,7 @@ public class FindPopupPanel extends JBPanel implements FindUI, DataProvider { relativePath .replace(file.getName(), "" + file.getName() + "") + ""; } - myUsagePreviewPanel.setBorder(IdeBorderFactory.createTitledBorder(path, false, new JBInsets(8, 0, -14, 0)).setShowLine(false)); + myUsagePreviewPanel.setBorder(IdeBorderFactory.createTitledBorder(path, false, new JBInsets(8, 0, 0, 0)).setShowLine(false)); } else { myUsagePreviewPanel.updateLayout(null);