From fe784941b183a091a23cc56fe939672ce47a88c4 Mon Sep 17 00:00:00 2001 From: Sergey Malenkov Date: Tue, 28 Feb 2017 16:23:25 +0300 Subject: [PATCH] remove border from an action's renderer --- .../src/com/intellij/ide/actions/SearchEverywhereAction.java | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/lang-impl/src/com/intellij/ide/actions/SearchEverywhereAction.java b/platform/lang-impl/src/com/intellij/ide/actions/SearchEverywhereAction.java index bc16f0168d10..283187b58cfa 100644 --- a/platform/lang-impl/src/com/intellij/ide/actions/SearchEverywhereAction.java +++ b/platform/lang-impl/src/com/intellij/ide/actions/SearchEverywhereAction.java @@ -1080,6 +1080,7 @@ public class SearchEverywhereAction extends AnAction implements CustomComponentA if (cmp == null) { if (value instanceof GotoActionModel.ActionWrapper) { cmp = myActionsRenderer.getListCellRendererComponent(list, new GotoActionModel.MatchedValue(((GotoActionModel.ActionWrapper)value), pattern), index, isSelected, isSelected); + if (cmp instanceof JComponent) ((JComponent)cmp).setBorder(null); } else { cmp = super.getListCellRendererComponent(list, value, index, isSelected, isSelected); final JPanel p = new JPanel(new BorderLayout());