From a8b2e8aa44ef9dfb83c80db2c99400b2bc6555e0 Mon Sep 17 00:00:00 2001 From: Konstantin Bulenkov Date: Mon, 30 Sep 2013 17:01:14 +0200 Subject: [PATCH] gaps in actions w/o location string --- .../src/com/intellij/ide/actions/SearchEverywhereAction.java | 4 ++++ 1 file changed, 4 insertions(+) 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 a6efd0d06b2e..e48341811946 100644 --- a/platform/lang-impl/src/com/intellij/ide/actions/SearchEverywhereAction.java +++ b/platform/lang-impl/src/com/intellij/ide/actions/SearchEverywhereAction.java @@ -505,6 +505,10 @@ public class SearchEverywhereAction extends AnAction implements CustomComponentA cmp = myPsiRenderer.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus); } else { cmp = super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus); + final JPanel p = new JPanel(new BorderLayout()); + p.setBackground(UIUtil.getListBackground(isSelected)); + p.add(cmp, BorderLayout.CENTER); + cmp = p; } if (myLocationString != null || value instanceof BooleanOptionDescription) { final JPanel panel = new JPanel(new BorderLayout());