gaps in actions w/o location string

This commit is contained in:
Konstantin Bulenkov
2013-09-30 17:03:12 +02:00
parent 9919d0581f
commit a8b2e8aa44
@@ -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());